public function __construct($config = array()) { parent::__construct($config); $this->registerTask('saveApply', 'savePublish'); // Need to explicitly define this in Joomla 3.0 $this->registerTask('unpublish', 'unpublish'); // Restoring a blog post is the same as publishing it $this->registerTask('restore', 'publish'); // Need to explicitly define trash $this->registerTask('trash', 'trash'); // Register lock / unlock $this->registerTask('lock', 'toggleLock'); $this->registerTask('unlock', 'toggleLock'); // Featuring / Unfeaturing $this->registerTask('unfeature', 'toggleFeatured'); $this->registerTask('feature', 'toggleFeatured'); // Toggling frontpage $this->registerTask('setFrontpage', 'toggleFrontpage'); $this->registerTask('removeFrontpage', 'toggleFrontpage'); // Toggle global template $this->registerTask('setGlobalTemplate', 'toggleGlobalTemplate'); $this->registerTask('removeGlobalTemplate', 'toggleGlobalTemplate'); // Toggle publish $this->registerTask('publishTemplate', 'toggleStateTemplate'); $this->registerTask('unpublishTemplate', 'toggleStateTemplate'); }
function __construct() { parent::__construct(); $this->registerTask('apply', 'save'); $this->registerTask('addTheme', 'addTheme'); $this->registerTask('removeSetting', 'removeSetting'); }
function __construct() { parent::__construct(); $this->registerTask('apply', 'save'); $this->registerTask('addIndexing', 'saveIndexing'); $this->registerTask('removeIndexing', 'saveIndexing'); }
function __construct() { parent::__construct(); $this->registerTask('add', 'edit'); $this->registerTask('publish', 'publish'); $this->registerTask('unpublish', 'unpublish'); }
public function __construct() { parent::__construct(); $this->registerTask('apply', 'save'); $this->registerTask('savenew', 'save'); $this->registerTask('publish', 'publish'); $this->registerTask('unpublish', 'unpublish'); }
public function __construct($options = array()) { parent::__construct($options); $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); $this->registerTask('archive', 'toggleArchive'); $this->registerTask('unarchive', 'toggleArchive'); }
function __construct() { // @task: Check for acl rules. $this->checkAccess('user'); parent::__construct(); $this->registerTask('add', 'edit'); $this->registerTask('apply', 'save'); }
public function __construct() { parent::__construct(); // Save tasks $this->registerTask('apply', 'save'); // Toggle featured status for bloggers $this->registerTask('feature', 'toggleFeatured'); $this->registerTask('unfeature', 'toggleFeatured'); }
public function __construct() { parent::__construct(); // Save $this->registerTask('apply', 'save'); // Publish / Unpublish $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); }
function __construct() { // @task: Check for acl rules. $this->checkAccess('user'); parent::__construct(); $this->registerTask('unfeature', 'toggleFeatured'); $this->registerTask('feature', 'toggleFeatured'); $this->registerTask('add', 'edit'); }
public function __construct($options = array()) { parent::__construct($options); $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); // Register tasks for moderation $this->registerTask('approve', 'moderate'); $this->registerTask('reject', 'moderate'); }
public function __construct() { parent::__construct(); $this->registerTask('add', 'edit'); // Saving $this->registerTask('savenew', 'save'); $this->registerTask('apply', 'save'); $this->registerTask('approve', 'respond'); $this->registerTask('reject', 'respond'); $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); }
function __construct() { // @task: Check for acl rules. $this->checkAccess('category'); parent::__construct(); $this->registerTask('add', 'edit'); $this->registerTask('publish', 'publish'); // In Joomla 3.0, it seems like we need to explicitly set unpublish $this->registerTask('unpublish', 'unpublish'); $this->registerTask('orderup', 'orderup'); $this->registerTask('orderdown', 'orderdown'); }
function __construct() { parent::__construct(); $this->registerTask('add', 'edit'); $this->registerTask('unfeature', 'toggleFeatured'); $this->registerTask('feature', 'toggleFeatured'); $this->registerTask('saveApply', 'savePublish'); // Need to explicitly define this in Joomla 3.0 $this->registerTask('unpublish', 'unpublish'); $this->registerTask('restore', 'publish'); // Need to explicitly define trash $this->registerTask('trash', 'trash'); }
public function __construct() { parent::__construct(); // Saving $this->registerTask('savenew', 'save'); $this->registerTask('saveclose', 'save'); $this->registerTask('apply', 'save'); // Toggle default $this->registerTask('setDefault', 'toggleDefault'); $this->registerTask('removeDefault', 'toggleDefault'); // Register the publish and unpublish actions $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); }
public function __construct($config = array()) { parent::__construct($config); // Toggle publishing for fields $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); // Toggle required for fields $this->registerTask('setRequired', 'toggleRequire'); $this->registerTask('removeRequired', 'toggleRequire'); $this->registerTask('apply', 'save'); $this->registerTask('savenew', 'save'); $this->registerTask('publishgroup', 'togglePublishGroup'); $this->registerTask('unpublishgroup', 'togglePublishGroup'); $this->registerTask('applyGroup', 'saveGroup'); $this->registerTask('saveNewGroup', 'saveGroup'); }
/** * Constructor * * @since 0.1 */ function __construct() { // Include the tables in path JTable::addIncludePath(EBLOG_TABLES); parent::__construct(); }
public function __construct($config = array()) { parent::__construct($config); $this->registerTask('apply', 'save'); $this->registerTask('save', 'save'); }
public function __construct() { parent::__construct(); }
public function __construct($config = array()) { parent::__construct($config); }
public function __construct($config = array()) { parent::__construct($config); $this->registerTask('publish', 'togglePublish'); $this->registerTask('unpublish', 'togglePublish'); }
public function __construct($options = array()) { parent::__construct($options); }
public function __construct() { parent::__construct(); $this->registerTask('applyForm', 'saveForm'); }