*/ /** * Komponent stPointsBackendComponents * * @package stPointsPlugin * @subpackage actions */ class stPointsBackendComponents extends autoStPointsBackendComponents { public function executeConfigContent() { $this -> config = stConfig::getInstance('stPointsBackend'); $this -> config -> setCulture($this -> getRequestParameter('culture', stLanguage::getOptLanguage())); } public function executeOrderStatusType() { $this -> select_options = array(); $i18n = $this -> getContext() -> getI18N(); $c = new Criteria(); $orderStatus = OrderStatusPeer::doSelect($c); foreach ($orderStatus as $status) { $this -> select_options[$status->getId()] = $status->getOptName(); } $this->config = stConfig::getInstance('stPointsBackend'); } }