Beispiel #1
0
 /**
  * @param string    $path
  * @param CM_Params $params
  * @return bool
  */
 public final function isActive($path, CM_Params $params)
 {
     if ($this->compare($path, $params->getParamsDecoded())) {
         return true;
     }
     if ($this->hasChildren()) {
         foreach ($this->getChildren()->getAllEntries() as $entry) {
             if ($entry->isActive($path, $params)) {
                 return true;
             }
         }
     }
     return false;
 }
Beispiel #2
0
 /**
  * @param string $value
  */
 private function _addNumeric($value)
 {
     $this->_numeric->set(count($this->_numeric->getParamsDecoded()), $value);
 }
Beispiel #3
0
 protected function _process(CM_Params $params, CM_Http_Response_View_Form $response, CM_Form_Abstract $form)
 {
     //$response->reloadComponent();
     $response->addMessage(nl2br($this->_printVar($params->getParamsDecoded())));
 }
Beispiel #4
0
 public function ajax_reloadComponent(CM_Params $params, CM_Frontend_JavascriptContainer_View $handler, CM_Http_Response_View_Ajax $response)
 {
     $response->reloadComponent($params->getParamsDecoded());
 }
Beispiel #5
0
 protected function _process(CM_Params $params, CM_Http_Response_View_Form $response, CM_Form_Abstract $form)
 {
     return $params->getParamsDecoded();
 }