/** * Constructor */ function __construct() { parent::__construct(); $this->addRoleAssignment(array(ROLE_ID_AUTHOR, ROLE_ID_SUB_EDITOR, ROLE_ID_MANAGER), array('fetch', 'fetchRow', 'fetchOptions', 'save')); }
/** * Constructor. */ function __construct() { parent::__construct(); }
/** * Constructor */ function __construct() { parent::__construct(); $this->addRoleAssignment(ROLE_ID_MANAGER, array('fetch', 'fetchRow', 'save')); }
/** * Constructor * @param $fileStage int File stage (or null for any) */ function __construct($fileStage = null) { parent::__construct(); $this->_fileStage = $fileStage; $this->addRoleAssignment(array(ROLE_ID_SUB_EDITOR, ROLE_ID_MANAGER, ROLE_ID_ASSISTANT), array('fetch', 'fetchRow', 'fetchOptions')); }