svn: /phpdoc/en/trunk/reference/reflection/reflectionproperty/ construct.xml getdoccomment.xml tostring.xml

From: Date: Wed, 06 Jan 2016 20:13:41 +0000
Subject: svn: /phpdoc/en/trunk/reference/reflection/reflectionproperty/ construct.xml getdoccomment.xml tostring.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13952@lists.php.net to get a copy of this message
tpunt Wed, 06 Jan 2016 20:13:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=338414 Log: Quick cleanup Changed paths: U phpdoc/en/trunk/reference/reflection/reflectionproperty/construct.xml U phpdoc/en/trunk/reference/reflection/reflectionproperty/getdoccomment.xml U phpdoc/en/trunk/reference/reflection/reflectionproperty/tostring.xml Modified: phpdoc/en/trunk/reference/reflection/reflectionproperty/construct.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionproperty/construct.xml 2016-01-06 20:03:57 UTC (rev 338413) +++ phpdoc/en/trunk/reference/reflection/reflectionproperty/construct.xml 2016-01-06 20:13:41 UTC (rev 338414) @@ -69,13 +69,13 @@ <programlisting role="php"> <![CDATA[ <?php -class String +class Str { public $length = 5; } // Create an instance of the ReflectionProperty class -$prop = new ReflectionProperty('String', 'length'); +$prop = new ReflectionProperty('Str', 'length'); // Print out basic information printf( @@ -90,8 +90,8 @@ var_export(Reflection::getModifierNames($prop->getModifiers()), 1) ); -// Create an instance of String -$obj= new String(); +// Create an instance of Str +$obj= new Str(); // Get current value printf("---> Value is: "); @@ -116,7 +116,7 @@ ) ---> Value is: int(5) ---> Setting value to 10, new value is: int(10) -object(String)#2 (1) { +object(Str)#2 (1) { ["length"]=> int(10) } Modified: phpdoc/en/trunk/reference/reflection/reflectionproperty/getdoccomment.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionproperty/getdoccomment.xml 2016-01-06 20:03:57 UTC (rev 338413) +++ phpdoc/en/trunk/reference/reflection/reflectionproperty/getdoccomment.xml 2016-01-06 20:13:41 UTC (rev 338414) @@ -34,7 +34,7 @@ &reftitle.examples; <para> <example> - <title><methodname>ReflectionProperty::__construct</methodname> example</title> + <title><methodname>ReflectionProperty::getDocComment</methodname> example</title> <programlisting role="php"> <![CDATA[ <?php @@ -43,10 +43,9 @@ /** * @var int The length of the string */ - public $length = 5; + public $length = 5; } -// Create an instance of the ReflectionProperty class $prop = new ReflectionProperty('Str', 'length'); var_dump($prop->getDocComment()); Modified: phpdoc/en/trunk/reference/reflection/reflectionproperty/tostring.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionproperty/tostring.xml 2016-01-06 20:03:57 UTC (rev 338413) +++ phpdoc/en/trunk/reference/reflection/reflectionproperty/tostring.xml 2016-01-06 20:13:41 UTC (rev 338414) @@ -37,7 +37,6 @@ &reftitle.seealso; <para> <simplelist> - <member><methodname>ReflectionProperty::</methodname></member> <member><link linkend="object.tostring">__toString()</link></member> </simplelist> </para>

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