I don’t know how to using Generic Component.
I can’t find any example or description with it.
please give me a example with that.
thank you~~~
I don’t know how to using Generic Component.
I can’t find any example or description with it.
please give me a example with that.
thank you~~~
what do you mean by generic component ?
if you mean the CComponent class, it is a class to be extended, giving it behavior and events funcionality, also the ability to use
$component->text
to call the method
$component->getText();
and
$component->text='123';
to call the method
$component->setText($value)
, also
isset($component->text)
will return true
basically it
for more info, refer to the CComponent documentation
TKS~