/** * Constructor. * @param string the component theme file name * @param string the parsing error message */ function __construct($ctrlName, $skinName, $msg = '') { if (strlen($msg)) { parent::__construct("Skin '{$skinName}' not loaded for {$ctrlName}: {$msg}"); } else { parent::__construct("Skin '{$skinName}' not loaded for {$ctrlName}."); } }
/** * Constructor. * @param string the component template file name * @param string the parsing error message */ function __construct($tplFile, $msg = '') { if (strlen($msg)) { parent::__construct("Failed to parse template file '{$tplFile}': {$msg}"); } else { parent::__construct("Failed to parse template file '{$tplFile}'."); } }
/** * Constructor. * @param string the component specification file name * @param string the parsing error message */ function __construct($specFile, $msg = '') { if (strlen($msg)) { parent::__construct("Failed to parse specification file '{$specFile}': {$msg}"); } else { parent::__construct("Failed to parse specification file '{$specFile}'."); } }
/** * Constructor. * @param string the component type or ID * @param string the expression * @param string the error message */ function __construct($comType, $expression, $msg = '') { if (empty($msg)) { parent::__construct("Component '{$comType}' executes an invalid expression '{$expression}'."); } else { parent::__construct("Component '{$comType}' executes an invalid expression '{$expression}': {$msg}."); } }
/** * Constructor. * @param string the component type or ID * @param string the error message */ function __construct($comType, $msg = '') { if (empty($msg)) { parent::__construct("Component '{$comType}' has problem in executing PHP statements."); } else { parent::__construct("Component '{$comType}' has problem in executing PHP statements: {$msg}."); } }
public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'message', 'type' => TType::STRING)); } if (is_array($vals)) { parent::__construct(self::$_TSPEC, $vals); } }
/** * Constructor, similar to the parent constructor. For parameters that * are of SimpleXmlElement, the tag name and its attribute names and values * are expanded into a string. */ public function __construct($errorMessage) { $this->setErrorCode($errorMessage); $errorMessage = $this->translateErrorMessage($errorMessage); $args = func_get_args(); array_shift($args); $n = count($args); $tokens = array(); for ($i = 0; $i < $n; ++$i) { if ($args[$i] instanceof SimpleXmlElement) { $tokens['{' . $i . '}'] = $this->implodeNode($args[$i]); } else { $tokens['{' . $i . '}'] = TPropertyValue::ensureString($args[$i]); } } parent::__construct(strtr($errorMessage, $tokens)); }
/** * Constructor. * @param string the page type */ function __construct($pageType) { parent::__construct("You are not authorized to access the page '{$pageType}'."); }
/** * Constructor. * @param string the component type * @param string the event name * @param string the event handler */ function __construct($comType, $eventName, $handler) { parent::__construct("Event '{$comType}.{$eventName}' is attached with an undefined handler '{$handler}'."); }
/** * Constructor. * @param string the error code * @param string the error message */ function __construct($code, $msg) { parent::__construct("Unhandled error: ({$code}) {$msg}."); }
/** * Constructor. * @param string the component type * @param string the property name */ function __construct($comType, $propName) { parent::__construct("Property '{$comType}.{$propName}' cannot be redefined."); }
/** * Constructor. * @param string the component type whose children have nonunique ID * @param string the nonunique ID */ function __construct($comType, $id) { parent::__construct("Component '{$comType}' has a nonunique child ID '{$id}'."); }
/** * Constructor. * @param string the class name */ function __construct($className) { parent::__construct("Application class '{$className}' must be TApplication or its descendant class."); }
/** * Constructor. * @param string the component type * @param string the property name * @param string the getter method */ function __construct($comType, $propName, $getter) { parent::__construct("Property '{$comType}.{$propName}' is defined with an invalid getter method '{$getter}'."); }
/** * Constructor. * @param string the component type * @param string the property name */ function __construct($comType, $propName) { parent::__construct("Property name '{$comType}.{$propName}' is invalid."); }
/** * Constructor. * @param string the component type * @param string the property name * @param string the property type */ function __construct($comType, $propName, $type) { parent::__construct("Property '{$comType}.{$propName}' is defined with an invalid type '{$type}'."); }
/** * Constructor. * @param string the external template file name */ function __construct($tplFile) { parent::__construct("Failed to load external template '{$tplFile}'."); }
/** * Constructor. * @param string the component type * @param string the property name */ function __construct($comType, $propName) { parent::__construct("Property name '{$comType}.{$propName}' clashes with a member variable of the same name."); }
/** * Constructor. * @param string the component type * @param string the undefined event name */ function __construct($comType, $eventName) { parent::__construct("Event '{$comType}.{$eventName}' is not defined."); }
/** * Constructor. * @param string the component type * @param string the event name */ function __construct($comType, $eventName) { parent::__construct("Event name '{$comType}.{$eventName}' is invalid. Only alphanumeric characters are allowed."); }
/** * Constructor. * @param string the tag name. */ function __construct($tagName) { parent::__construct("Tag '{$tagName}' is not balanced."); }
/** * Constructor. * @param string the component type whose children have nonunique ID * @param string the nonunique ID */ function __construct($comType, $id) { parent::__construct("Component '{$comType}' has a child with ID '{$id}' which clashes with a member variable of the same name."); }
/** * Constructor. * @param string the path alias to be translated */ function __construct($alias) { parent::__construct("Unable to translate the path alias '{$alias}'."); }
public function __construct($id) { parent::__construct("Invalid callback request with ID '{$id}'"); }
/** * Constructor. * @param string the expected object type. * @param string the actual object used. */ function __construct($expected, $found) { parent::__construct("Expecting object of type '{$expected}' but found '{$found}'."); }
public function __construct($message, $errorCode = -1) { $this->setErrorCode($errorCode); parent::__construct($message); }
/** * Constructor. * @param string the component type */ function __construct($comType) { parent::__construct("Component type '{$comType}' is not defined."); }
/** * Constructor. * @param string the error message */ function __construct($msg) { parent::__construct("An unexpected error happened: {$msg}. Please report this problem to PRADO developer team. Thanks."); }
function __construct($message = null, $code = 0) { parent::__construct($message, $code); }
/** * Constructor. * @param string the error message */ function __construct($msg) { parent::__construct("Session handler is required: {$msg}"); }