/** * Koństruktor * * @param CUS_Mongo_Document $oParent obiekt "rodzica" * @param array $aData dane na których operuje plugin * @param string $sPath ścieżka do danych plugina * @param bool $bCreate czy tworzony jest nowy plugin */ public function __construct(Document $oParent, $sPath, array &$aData, $bCreate) { parent::__construct($aData); $this->oParent = $oParent; $this->sMongoPath = $sPath; $this->bCreate = $bCreate; }
public function __construct($id, $revision) { parent::__construct('delete', $id, $revision); }
/** * @inheritdoc */ public function __construct($layout = '', $options = []) { parent::__construct($layout, $options); $this->mpdf = $this->createMpdfInstance($options); }
public function __construct($id, $revision, $lang = 'en', array $fields = array()) { parent::__construct('add', $id, $revision, $lang); $this->fields = (object) $fields; }