/** * Constructor * * @param string $errorcode error code * @param stdClass $a extra information * @param string $debuginfo extra debug info */ public function __construct($errorcode, $a = null, $debuginfo = null) { parent::__construct($errorcode, '', '', $a, $debuginfo); }
/** * Constructor * * @param string $contenthash content hash * @param string $debuginfo extra debug info */ function __construct($contenthash, $debuginfo = NULL) { parent::__construct('hashpoolproblem', $contenthash, $debuginfo); }
/** * Constructor * * @param int $repositoryid the id of the repository that provides the referenced file * @param string $reference the information for the repository to locate the file * @param int|null $referencefileid the id of the record in {files_reference} if known * @param int|null $fileid the id of the referrer's record in {files} if known * @param string|null $debuginfo extra debug info */ function __construct($repositoryid, $reference, $referencefileid = null, $fileid = null, $debuginfo = null) { $a = new stdClass(); $a->repositoryid = $repositoryid; $a->reference = $reference; $a->referencefileid = $referencefileid; $a->fileid = $fileid; parent::__construct('filereferenceproblem', $a, $debuginfo); }