예제 #1
0
파일: MenuEntry.php 프로젝트: cargomedia/cm
 /**
  * @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;
 }
예제 #2
0
파일: Arguments.php 프로젝트: cargomedia/cm
 /**
  * @param string $value
  */
 private function _addNumeric($value)
 {
     $this->_numeric->set(count($this->_numeric->getParamsDecoded()), $value);
 }
예제 #3
0
파일: Go.php 프로젝트: NicolasSchmutz/cm
 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())));
 }
예제 #4
0
파일: Abstract.php 프로젝트: cargomedia/cm
 public function ajax_reloadComponent(CM_Params $params, CM_Frontend_JavascriptContainer_View $handler, CM_Http_Response_View_Ajax $response)
 {
     $response->reloadComponent($params->getParamsDecoded());
 }
예제 #5
0
파일: Submit.php 프로젝트: cargomedia/cm
 protected function _process(CM_Params $params, CM_Http_Response_View_Form $response, CM_Form_Abstract $form)
 {
     return $params->getParamsDecoded();
 }