/**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('not_allowed');
 }
Пример #2
0
 /**
  * Constructor
  * 
  * @param string $file path of the required file
  */
 public function __construct()
 {
     parent::__construct('pad_no_updates_found');
 }
 /**
  * Constructor
  * 
  * @param string $size the raw, badly formated size
  */
 public function __construct($size)
 {
     parent::__construct('bad_size_format', 'size : ' . $size);
 }
 /**
  * Constructor
  * 
  * @param string $file path of the file
  */
 public function __construct($file)
 {
     parent::__construct('config_override_cannot_save', 'file : ' . $file);
 }
 /**
  * Constructor
  * 
  * @param mixed $object object or class name to report access about
  * @param string $property name of the property that was wanted
  */
 public function __construct($object, $property)
 {
     $name = is_object($object) ? get_class($object) : (string) $object;
     parent::__construct('no_such_property', 'class=' . $name . ', property=' . $property);
 }
Пример #6
0
 /**
  * Constructor
  * 
  * @param string $message error message
  */
 public function __construct($message, $details = null)
 {
     parent::__construct('database_access_failure', array($message, $details));
 }
Пример #7
0
 /**
  * Constructor
  * 
  * @param string $message message id to return to the interface
  * @param int $code http error code
  * @param mixed $details details about what happened (for logging)
  */
 public function __construct($message, $code = 0, $details = '')
 {
     parent::__construct($message, $details, self::$context);
     $this->code = $code;
 }
Пример #8
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('user_missing_uid');
 }
 /**
  * Constructor
  * 
  * @param Survey $survey
  * @param string $email
  */
 public function __construct($survey, $email)
 {
     parent::__construct('survey_guest_already_exists', array('survey' => $survey->id, 'email' => $email));
 }
Пример #10
0
 /**
  * Constructor
  * 
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('plugin_not_found', array('name' => $name));
 }
Пример #11
0
 /**
  * Constructor
  * 
  * @param string $type Type of object given
  */
 public function __construct($type)
 {
     parent::__construct('notes_datatype_not_found', $type);
 }
 /**
  * Constructor
  * 
  * @param string $file path of the required file
  */
 public function __construct()
 {
     parent::__construct('etherpad_not_found');
 }
 /**
  * Constructor
  * 
  * @param string $file path of the required file
  */
 public function __construct()
 {
     parent::__construct('account_not_found');
 }
Пример #14
0
 /**
  * Constructor
  * 
  * @param string $path
  */
 public function __construct($path)
 {
     parent::__construct('mail_attachment_no_content', 'path = ' . $path);
 }
 /**
  * Constructor
  * 
  * @param string $selector column used to select translatable email
  */
 public function __construct($selector)
 {
     parent::__construct('translatable_email_not_found', $selector);
 }
Пример #16
0
 /**
  * Constructor
  * 
  * @param string $file the file path
  */
 public function __construct($file)
 {
     parent::__construct('core_cannot_delete_file', 'file : ' . $file);
 }
 /**
  * Constructor
  * 
  * @param string $class
  */
 public function __construct($class)
 {
     parent::__construct('not_plugindbobject', array('class' => $class));
 }
Пример #18
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('auth_user_not_allowed');
 }
Пример #19
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('no_addresses_found');
 }
 /**
  * Constructor
  * 
  * @param string $uid user id
  * @param string $reason
  */
 public function __construct($uid, $reason)
 {
     parent::__construct('auth_remote_user_rejected', 'uid : ' . $uid . ', reason : ' . $reason);
 }
Пример #21
0
 /**
  * Constructor
  * 
  * @param string $name name of the attribute
  */
 public function __construct($name)
 {
     parent::__construct('auth_sp_bad_attribute', 'Attribute : ' . $name);
 }
Пример #22
0
 /**
  * Constructor
  * 
  * @param string $message message id to return to the interface
  * @param int $code http error code
  * @param mixed $details details about what happened (for logging)
  */
 public function __construct($message, $code = 0, $details = '')
 {
     $request = RestServer::getRequest();
     parent::__construct($message, $details, $request ? $request->context : null);
     $this->code = $code;
 }
Пример #23
0
 /**
  * Constructor
  * 
  * @param string $answer
  */
 public function __construct($answer)
 {
     parent::__construct('vote_bad_answer', array('answer' => $answer));
 }
Пример #24
0
 /**
  * Constructor
  * 
  * @param string $key name of the parameter
  */
 public function __construct($key)
 {
     parent::__construct('config_override_not_allowed', 'parameter : ' . $key);
 }
Пример #25
0
 /**
  * Constructor
  * 
  * @param string $file path of the required file
  */
 public function __construct()
 {
     parent::__construct('event_bad_order');
 }
Пример #26
0
 /**
  * Constructor
  * 
  * @param string $code the bad lang code
  */
 public function __construct($code)
 {
     parent::__construct('bad_lang_code', 'code : ' . $code);
 }
Пример #27
0
 /**
  * Constructor
  * 
  * @param string $class the class name
  */
 public function __construct($class)
 {
     parent::__construct('core_class_not_found', 'class : ' . $class);
 }