Jump to content

what is init?


ballhogjoni

Recommended Posts

I have this line of code in a function but I can't figure out what its doing.

 

$this->Component->init($this);

 

when I print_r($this->Component); i get Component Object ( [__controllerVars] => Array ( [plugin] => [name] => [base] => ) [_loaded] => Array ( ) [_primary] => Array ( ) [__settings] => Array ( ) [_log] => )

 

There is no init method or object in the Component Object as you can see, so I am lost. Any ideas?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/215622-what-is-init/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.