/** * Construct a new source object */ public function __construct($titleString) { parent::__construct('transcript', $titleString, NS_TRANSCRIPT); }
/** * Construct a new object */ public function __construct() { parent::__construct('show_sources_images_notes', '', NS_MAIN); // this titleString and ns aren't right, but it doesn't matter $this->clearESINState(); }
/** * Construct a new family object */ public function __construct($titleString) { parent::__construct('family', $titleString, NS_FAMILY, ESINHandler::ESIN_FOOTER_TAG); $this->isMerging = false; }
/** * Construct a new source object */ public function __construct($titleString) { parent::__construct('repository', $titleString, NS_REPOSITORY); }
/** * Construct a new person object */ public function __construct($titleString) { parent::__construct('person', $titleString, NS_PERSON, ESINHandler::ESIN_FOOTER_TAG); $this->historicalData = ''; }
/** * Construct a new mysource object */ public function __construct($titleString) { parent::__construct('mysource', $titleString, NS_MYSOURCE); }
/** * Construct a new article page object * @param string $tagName the name of the tag for this namespace */ public function __construct($titleString) { parent::__construct('article', $titleString, NS_MAIN); }
/** * Construct a new name object * @param string $tagName the name of the tag for this namespace */ public function __construct($ns, $titleString) { parent::__construct(StructuredData::getNamespaceTag($ns), $titleString, $ns); }
/** * Construct a new place object */ public function __construct($titleString) { parent::__construct('place', $titleString, NS_PLACE); $arr = Place::getPrefNameLocatedIn($titleString); $this->prefName = $arr[0]; $this->locatedIn = $arr[1]; $this->mapData = ''; }
/** * Construct a new SDImage object */ public function __construct($titleString) { parent::__construct('image_data', $titleString, NS_IMAGE); $this->prevPeople = null; $this->prevFamilies = null; }
/** * Construct a new name object * @param string $tagName the name of the tag for this namespace */ public function __construct($titleString) { parent::__construct('user', $titleString, NS_USER); $this->userName = $titleString; $this->isSubpage = false; $pos = strpos($this->userName, '/'); if ($pos !== false) { $this->userName = substr($this->userName, 0, $pos); $this->isSubpage = true; } }