예제 #1
0
 protected function get_controls()
 {
     return array(self::CONTROL_PERMISSION => Module::PERMISSION_MAINTAIN, self::CONTROL_RECORD => true, self::CONTROL_OWNERSHIP => true) + parent::get_controls();
 }
예제 #2
0
 /**
  * Controls for the operation: form.
  */
 protected function get_controls()
 {
     return array(self::CONTROL_FORM => true) + parent::get_controls();
 }
예제 #3
0
 protected function get_controls()
 {
     return array(self::CONTROL_PERMISSION => Module::PERMISSION_ADMINISTER) + parent::get_controls();
 }
예제 #4
0
 protected function get_controls()
 {
     return array(self::CONTROL_RECORD) + parent::get_controls();
 }
예제 #5
0
 /**
  * Adds the {@link CONTROL_RECORD} control.
  */
 protected function get_controls()
 {
     return [self::CONTROL_RECORD => true] + parent::get_controls();
 }
예제 #6
0
 /**
  * Controls for the operation: authentication, permission(create)
  */
 protected function get_controls()
 {
     return array(self::CONTROL_AUTHENTICATION => true, self::CONTROL_PERMISSION => Module::PERMISSION_CREATE) + parent::get_controls();
 }
예제 #7
0
 protected function get_controls()
 {
     return array(self::CONTROL_PERMISSION => Module::PERMISSION_CREATE, self::CONTROL_RECORD => true) + parent::get_controls();
 }
예제 #8
0
파일: save.php 프로젝트: icanboogie/module
 /**
  * Change controls:
  *
  * - CONTROL_PERMISSION: Module::PERMISSION_CREATE
  * - CONTROL_OWNERSHIP: true
  * - CONTROL_FORM: true
  *
  * @return array
  */
 protected function get_controls()
 {
     return [self::CONTROL_PERMISSION => Module::PERMISSION_CREATE, self::CONTROL_RECORD => true, self::CONTROL_OWNERSHIP => true, self::CONTROL_FORM => true] + parent::get_controls();
 }
예제 #9
0
 protected function get_controls()
 {
     return array(self::CONTROL_AUTHENTICATION => true) + parent::get_controls();
 }
예제 #10
0
 protected function get_controls()
 {
     return array(self::CONTROL_RECORD => true, self::CONTROL_PERMISSION => true, self::CONTROL_FORM => true) + parent::get_controls();
 }