downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ReflectionClass::getDocComment> <ReflectionClass::getConstructor
[edit] Last updated: Fri, 24 Jun 2011

view this page in

ReflectionClass::getDefaultProperties

(PHP 5)

ReflectionClass::getDefaultPropertiesدریافت خاصیت‌های پیش‌فرض

Description

public array ReflectionClass::getDefaultProperties ( void )

دریافت خاصیت‌های پیش‌فرض کلاس.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

array خاصیت‌های پیش‌فرض.

See Also



add a note add a note User Contributed Notes ReflectionClass::getDefaultProperties - [2 notes]
up
0
runaurufu AT gmail.com
1 year ago
Worth noting that it will not return private parameters of parent class...
so it works exactly as get_class_vars or get_object_vars
up
0
captainjester at hotmail dot com
3 years ago
This will return all properties in a class and any parent classes.  The array will have keys set to the property names and empty values.

 
show source | credits | sitemap | contact | advertising | mirror sites