クラス定義
クラスの宣言時には、いったん改行した後に開始波カッコをつけるようにします。
<?php
class Foo_Bar
{
//... コードをここに書きます
}
?>
関数コール (Previous)
|
(Next) 関数定義
|
|
|
Download Documentation
|
Last updated: Sun, 21 Jun 2009 |
|
Do you think that something on this page is wrong? Please file a bug report or add a note.
|
| User Notes: |
Note by: user@example.com
If we put a starting braces for control structure on same row,then why not same with classes
|
|