Exemple #1
0
 /**
  */
 protected function init()
 {
     // run parent
     parent::init();
     // requires edit posts
     $this->add_capabilities('edit_posts');
 }
Exemple #2
0
 /**
  */
 protected function init()
 {
     // run parent
     parent::init();
     // init directives
     $this->post_type = 'post';
     // requires edit posts
     $this->add_capabilities('edit_posts');
 }
Exemple #3
0
 /**
  */
 protected function init()
 {
     parent::init();
     $this->__id_stack__ = new ICE_Stack();
 }