original_string: protected function startActionModule($action)
      {
          $this->controlAccess("module_$action");
  
          switch ($action) {
              case 'enable':
                  return $this->module_model->enable($this->data_module['id']);
              case 'disable':
                  return $this->module_model->disable($this->data_module['id']);
              case 'install':
                  return $this->module_model->install($this->data_module['id']);
              case 'uninstall':
                  return $this->module_model->uninstall($this->data_module['id']);
          }
  
          $this->outputHttpStatus(403);
          return null;
      }
code: protected function startActionModule($action)
      {
          $this->controlAccess("module_$action");
  
          switch ($action) {
              case 'enable':
                  return $this->module_model->enable($this->data_module['id']);
              case 'disable':
                  return $this->module_model->disable($this->data_module['id']);
              case 'install':
                  return $this->module_model->install($this->data_module['id']);
              case 'uninstall':
                  return $this->module_model->uninstall($this->data_module['id']);
          }
  
          $this->outputHttpStatus(403);
          return null;
      }
code_tokens: protected function startActionModule ( $ action ) { $ this -> controlAccess ( "module_$action" ) ; switch ( $ action ) { case 'enable' : return $ this -> module_model -> enable ( $ this -> data_module [ 'id' ] ) ; case 'disable' : return $ this -> module_model -> disable ( $ this -> data_module [ 'id' ] ) ; case 'install' : return $ this -> module_model -> install ( $ this -> data_module [ 'id' ] ) ; case 'uninstall' : return $ this -> module_model -> uninstall ( $ this -> data_module [ 'id' ] ) ; } $ this -> outputHttpStatus ( 403 ) ; return null ; }
docstring: Performs an action against a module
  @param string $action
  @return mixed
docstring_tokens: Performs an action against a module