/** * Retrieves all options */ public function getAll() { return IfwPsn_Wp_Proxy::getOption($this->_pageId); }
/** * @param $id * @return mixed|null */ public function getOption($id) { if ($this->hasOption($id)) { $options = IfwPsn_Wp_Proxy::getOption($this->_pm->getOptions()->getPageId()); return $options[$this->_pm->getOptions()->getOptionRealId($id)]; } return null; }