示例#1
0
 /**
  * 
  * Class Constructor
  * 
  * @access public
  * @param $config
  * @return Object&
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
     // Register Extra tasks
     $this->registerTask('applyEntity', 'saveEntity');
     $this->registerTask('saveEntity2New', 'saveEntity');
     $this->registerTask('unpublish', 'publishEntities');
     $this->registerTask('publish', 'publishEntities');
 }
示例#2
0
 /**
  * Class Constructor
  * 
  * @access public
  * @return Object&
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
     // Register Extra tasks
     $this->registerTask('moveorder_up', 'moveOrder');
     $this->registerTask('moveorder_down', 'moveOrder');
     $this->registerTask('applyEntity', 'saveEntity');
     $this->registerTask('unpublish', 'publishEntities');
     $this->registerTask('publish', 'publishEntities');
 }
示例#3
0
 /**
  * Class Constructor
  * 
  * @access public
  * @return Object&
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
 }
示例#4
0
 /**
  * Class Constructor
  * 
  * @access public
  * @return Object&
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerTask('view', 'display');
 }