Exemplo n.º 1
0
 /**
  * before_filter
  *
  * @return void
  * @access public
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     if ($this->params['prefix'] == 'admin') {
         $this->subMenuElements = array('feed_common');
     }
 }
Exemplo n.º 2
0
 /**
  * beforeFilter
  *
  * @return void
  * @access public
  */
 function beforeFilter()
 {
     parent::beforeFilter();
     $feedConfig = $this->FeedConfig->read(null, $this->params['pass'][0]);
     $this->navis = am($this->navis, array('フィード設定情報: ' . $feedConfig['FeedConfig']['name'] => '/admin/feed/feed_configs/edit/' . $this->params['pass'][0]));
     if ($this->params['prefix'] == 'admin') {
         $this->subMenuElements = array('feed_details');
     }
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $feedConfig = $this->FeedConfig->read(null, $this->params['pass'][0]);
     $this->crumbs[] = array('name' => 'フィード設定情報: ' . $feedConfig['FeedConfig']['name'], 'url' => array('controller' => 'feed_configs', 'action' => 'edit', $this->params['pass'][0]));
     if ($this->params['prefix'] == 'admin') {
         $this->subMenuElements = array('feed_details');
         $this->help = 'feed_details_form';
     }
 }
Exemplo n.º 4
0
 /**
  * beforeFilter
  *
  * @return void
  * @access public
  */
 function beforeFilter()
 {
     /* 認証設定 */
     $this->BcAuth->allow('index', 'mobile_index', 'smartphone_index', 'ajax', 'smartphone_ajax');
     parent::beforeFilter();
 }