svn: /phpdoc/en/trunk/reference/classobj/functions/ get-class-vars.xml get-class.xml

From: Date: Wed, 03 Feb 2010 13:22:27 +0000
Subject: svn: /phpdoc/en/trunk/reference/classobj/functions/ get-class-vars.xml get-class.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5979@lists.php.net to get a copy of this message
rquadling Wed, 03 Feb 2010 13:22:27 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294378 Log: W/S tabs Changed paths: U phpdoc/en/trunk/reference/classobj/functions/get-class-vars.xml U phpdoc/en/trunk/reference/classobj/functions/get-class.xml Modified: phpdoc/en/trunk/reference/classobj/functions/get-class-vars.xml =================================================================== --- phpdoc/en/trunk/reference/classobj/functions/get-class-vars.xml 2010-02-03 13:20:36 UTC (rev 294377) +++ phpdoc/en/trunk/reference/classobj/functions/get-class-vars.xml 2010-02-03 13:22:27 UTC (rev 294378) @@ -145,19 +145,19 @@ <?php function format($array) { - return implode('|', array_keys($array)) . "\r\n"; + return implode('|', array_keys($array)) . "\r\n"; } class TestCase { - public $a = 1; - protected $b = 2; - private $c = 3; + public $a = 1; + protected $b = 2; + private $c = 3; - public static function expose() - { - echo format(get_class_vars(__CLASS__)); - } + public static function expose() + { + echo format(get_class_vars(__CLASS__)); + } } TestCase::expose(); Modified: phpdoc/en/trunk/reference/classobj/functions/get-class.xml =================================================================== --- phpdoc/en/trunk/reference/classobj/functions/get-class.xml 2010-02-03 13:20:36 UTC (rev 294377) +++ phpdoc/en/trunk/reference/classobj/functions/get-class.xml 2010-02-03 13:22:27 UTC (rev 294378) @@ -111,11 +111,11 @@ <?php abstract class bar { - public function __construct() - { - var_dump(get_class($this)); - var_dump(get_class()); - } + public function __construct() + { + var_dump(get_class($this)); + var_dump(get_class()); + } } class foo extends bar {

« previous php.doc.cvs (#5979) next »