示例#1
0
 /**
  * Class constructor
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('toggleDefault', 'makeDefault');
     $this->registerTask('apply', 'store');
     $this->registerTask('save', 'store');
 }
示例#2
0
 /**
  * Class constructor.
  *
  * @since	1.0
  * @access	public
  *
  * @author	Mark Lee <*****@*****.**>
  */
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('unpublish', 'unpublish');
     $this->registerTask('save', 'store');
     $this->registerTask('apply', 'store');
 }
示例#3
0
 /**
  * Class Constructor.
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     // Register aliases.
     $this->registerTask('apply', 'save');
     $this->registerTask('unpublish', 'publish');
 }
示例#4
0
 public function __construct()
 {
     parent::__construct();
     // Register task aliases here.
     $this->registerTask('remove', 'remove');
     $this->registerTask('purge', 'purge');
     $this->registerTask('reindex', 'reindex');
 }
示例#5
0
 /**
  * Class Constructor.
  *
  * @since   1.0
  * @access  public
  */
 public function __construct()
 {
     parent::__construct();
     // Register task aliases here.
     $this->registerTask('archive', 'archive');
     $this->registerTask('trash', 'trash');
     $this->registerTask('restoreTrash', 'restoreTrash');
 }
示例#6
0
 /**
  * Class Constructor.
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('emailPublish', 'togglePublish');
     $this->registerTask('emailUnpublish', 'togglePublish');
     $this->registerTask('systemPublish', 'togglePublish');
     $this->registerTask('systemUnpublish', 'togglePublish');
     $this->registerTask('publish', 'unpublish');
 }
示例#7
0
 public function __construct()
 {
     parent::__construct();
     // Map the alias methods here.
     $this->registerTask('save', 'store');
     $this->registerTask('savenew', 'store');
     $this->registerTask('apply', 'store');
     $this->registerTask('publish', 'togglePublish');
     $this->registerTask('unpublish', 'togglePublish');
     $this->registerTask('activate', 'toggleActivation');
     $this->registerTask('deactivate', 'toggleActivation');
 }
示例#8
0
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('publishCategory', 'togglePublishCategory');
     $this->registerTask('unpublishCategory', 'togglePublishCategory');
     $this->registerTask('publish', 'togglePublish');
     $this->registerTask('unpublish', 'togglePublish');
     $this->registerTask('saveCategory', 'saveCategory');
     $this->registerTask('applyCategory', 'saveCategory');
     $this->registerTask('saveCategoryNew', 'saveCategory');
     $this->registerTask('save', 'store');
     $this->registerTask('apply', 'store');
     $this->registerTask('savenew', 'store');
 }
示例#9
0
 /**
  * Class construct
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     // Register task aliases here.
     $this->registerTask('publish', 'togglePublish');
     $this->registerTask('unpublish', 'togglePublish');
     // Task aliases for purging items
     $this->registerTask('purgeSent', 'purge');
     $this->registerTask('purgePending', 'purge');
     $this->registerTask('purgeAll', 'purge');
     // Task aliases for saving new item.
     $this->registerTask('apply', 'store');
     $this->registerTask('save', 'store');
     $this->registerTask('save2new', 'store');
 }
示例#10
0
 /**
  * Class constructor
  *
  * @since   1.0
  * @access  public
  */
 public function __construct()
 {
     parent::__construct();
     // Map the alias methods here.
     $this->registerTask('unpublishCategory', 'togglePublishCategory');
     $this->registerTask('publishCategory', 'togglePublishCategory');
     $this->registerTask('publish', 'togglePublish');
     $this->registerTask('unpublish', 'togglePublish');
     $this->registerTask('applyCategory', 'saveCategory');
     $this->registerTask('saveCategoryNew', 'saveCategory');
     $this->registerTask('saveCategory', 'saveCategory');
     $this->registerTask('apply', 'store');
     $this->registerTask('save', 'store');
     $this->registerTask('savenew', 'store');
     $this->registerTask('makeFeatured', 'toggleDefault');
     $this->registerTask('removeFeatured', 'toggleDefault');
 }
示例#11
0
 /**
  * Class construct
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     // Register task aliases here.
     $this->registerTask('apply', 'save');
 }
示例#12
0
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('unpublish', 'publish');
 }
示例#13
0
 /**
  * Class constructor.
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
 }
示例#14
0
 /**
  * Class Constructor.
  *
  * @since	1.0
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('apply', 'save');
     $this->registerTask('savenew', 'save');
 }
示例#15
0
 public function __construct()
 {
     parent::__construct();
     $this->registerTask('create', 'store');
     $this->registerTask('update', 'store');
 }