update : 2015.11.03
php.shukuma.com검색:
|
ReflectionClass::getProperties(PHP 5) ReflectionClass::getProperties — Gets properties 설명
public array ReflectionClass::getProperties
([ int
$filter
] )Retrieves reflected properties. 인수
반환값An array of ReflectionProperty objects. 예제Example #1 ReflectionClass::getProperties() filtering example
This example demonstrates usage of the optional
<?php 위 예제의 출력 예시: foo bar array(2) { [0]=> object(ReflectionProperty)#3 (2) { ["name"]=> string(3) "foo" ["class"]=> string(3) "Foo" } [1]=> object(ReflectionProperty)#4 (2) { ["name"]=> string(3) "bar" ["class"]=> string(3) "Foo" } } 참고
|