TComponentReflection class.
TComponentReflection provides functionalities to inspect the properties and events defined in a component. It shows the definition of component properties, including their name, type, writability and defining class. It also shows the definition of component events, including their name and defining class.
Note, only public properties and events are displayed.
The following code displays the properties and events defined in TDataGrid,
- $reflection=new TComponentReflection('TDataGrid');
- Prado::varDump($reflection->getProperties());
- Prado::varDump($reflection->getEvents());
Located in /TComponent.php (line 601)
TComponent | --TComponentReflection
Constructor.
Determines the property type.
This method uses the doc comment to determine the property type.
Inherited From TComponent
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Mon, 01 May 2006 23:03:00 -0400 by phpDocumentor 1.3.0RC4