public function __construct($name, array $config) { $this->name = $name; $this->_setConfig($config); $this->_Site = ClassRegistry::init('Site'); }