function __construct($config = array()) { parent::__construct($config); //product $this->registerTask('apply', 'save'); $this->registerTask('add', 'edit'); $this->registerTask('unpublish', 'publish'); }
function __construct($config = array()) { parent::__construct($config); //product $this->registerTask('apply', 'save'); $this->registerTask('add', 'edit'); $this->registerTask('unpublish', 'publish'); $this->registerTask('nofrontpage', 'frontpage'); $this->registerTask('undiscount', 'discount'); $this->registerTask('noproducts', 'hasproducts'); }