Ejemplo n.º 1
0
 function __construct($type, $id)
 {
     parent::__construct(tr('Document not found in index %1 (%0)', $type, $id));
 }
Ejemplo n.º 2
0
 function __construct($field)
 {
     $this->field = $field;
     parent::__construct(tr('Sort field %0 not found in index', $this->field));
 }
Ejemplo n.º 3
0
 function __construct($string, $field)
 {
     $this->string = $string;
     $this->field = $field;
     parent::__construct(tr('String "%0" cannot be formatted as a number for field "%1"', $this->string, $this->field));
 }
Ejemplo n.º 4
0
 function __construct($string)
 {
     $this->string = $string;
     parent::__construct(tr('Parsing search query failed: "%0"', $this->string));
 }
Ejemplo n.º 5
0
 function __construct($type, $field)
 {
     $this->type = $type;
     $this->field = $field;
     parent::__construct(tr('Unknown mapping type "%0" for field "%1"', $type, $field));
 }