/** * @overrides init() from RestResource */ protected function init() { parent::init(); $this->_cacheLife = 900; // 15 minutes $this->_cacheable = true; }
protected function init($contactType = null) { if (parent::init()) { $this->_contactType = $contactType; return true; } else { return false; } }