public function __construct($fileName = '', $guid = '') { $this->fileName = $fileName; $this->caption = new LexMultiText(); $this->setReadOnlyProp('guid'); $this->guid = Guid::makeValid($guid); }
public function __construct($guid = '', $styleName = '') { $this->setReadOnlyProp('guid'); $this->guid = Guid::makeValid($guid); $this->setPrivateProp('styleName'); $this->initLazyProperties(['content', 'styleName'], false); if ($styleName) { $this->styleName = $styleName; } }
public function __construct($liftId = '', $guid = '') { $this->setPrivateProp('liftId'); $this->setReadOnlyProp('guid'); $this->setReadOnlyProp('authorInfo'); if ($liftId) { $this->liftId = $liftId; } $this->guid = Guid::makeValid($guid); $this->initLazyProperties(['partOfSpeech', 'semanticDomain', 'examples', 'customFields', 'authorInfo', 'definition', 'gloss', 'pictures', 'scientificName', 'anthropologyNote', 'senseBibliography', 'discourseNote', 'encyclopedicNote', 'generalNote', 'grammarNote', 'phonologyNote', 'senseRestrictions', 'semanticsNote', 'sociolinguisticsNote', 'source', 'senseImportResidue', 'usages', 'reversalEntries', 'senseType', 'academicDomains', 'sensePublishIn', 'anthropologyCategories', 'status'], false); }
public function __construct($liftId = '', $guid = '') { $this->setPrivateProp('liftId'); $this->setReadOnlyProp('guid'); $this->setReadOnlyProp('translationGuid'); $this->setReadOnlyProp('authorInfo'); if ($liftId) { $this->liftId = $liftId; } $this->guid = Guid::makeValid($guid); $this->initLazyProperties(['authorInfo', 'sentence', 'translation', 'translationGuid', 'reference', 'customFields', 'examplePublishIn'], false); }
public function __construct($guid = '') { $this->setReadOnlyProp('guid'); $this->guid = Guid::makeValid($guid); $this->initLazyProperties(['paragraphs'], false); }