public function __construct($componentId = null) { $this->_componentId = $componentId; parent::__construct($componentId); }
/** * Constructor; don't create component objects directly, always use Kwf_Component_Data::getComponent() */ public function __construct(Kwf_Component_Data $data) { $this->_data = $data; parent::__construct(); Kwf_Benchmark::count('components', $data->componentClass . ' ' . $data->componentId); }
public function __construct(Kwf_Component_Generator_Abstract $generator) { $this->_generator = $generator; parent::__construct(); }