public function __construct() { $pk = PermissionKey::getByHandle('edit_page_permissions'); parent::__construct($pk); }
public function cancel(WorkflowProgress $wp) { $c = Page::getByID($this->getRequestedPageID(), $this->cvID); $ev = new \Concrete\Core\Page\Collection\Version\Event($c); $v = $c->getVersionObject(); $ev->setCollectionVersionObject($v); Events::dispatch('on_page_version_deny', $ev); parent::cancel($wp); }
public function __construct() { $pk = PermissionKey::getByHandle('move_or_copy_page'); parent::__construct($pk); }
public function __construct() { $pk = PermissionKey::getByHandle('delete_page'); parent::__construct($pk); }