コード例 #1
0
ファイル: datasets.php プロジェクト: knigherrant/decopatio
 /**
  * 
  * 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
ファイル: sources.php プロジェクト: site4com/prometheus
 /**
  * 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
ファイル: sitemap.php プロジェクト: knigherrant/decopatio
 /**
  * Class Constructor
  * 
  * @access public
  * @return Object&
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerTask('view', 'display');
 }