Exemple #1
0
 /**
  * Construct a new source object
  */
 public function __construct($titleString)
 {
     parent::__construct('transcript', $titleString, NS_TRANSCRIPT);
 }
Exemple #2
0
 /**
  * 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();
 }
Exemple #3
0
 /**
  * Construct a new family object
  */
 public function __construct($titleString)
 {
     parent::__construct('family', $titleString, NS_FAMILY, ESINHandler::ESIN_FOOTER_TAG);
     $this->isMerging = false;
 }
Exemple #4
0
 /**
  * Construct a new source object
  */
 public function __construct($titleString)
 {
     parent::__construct('repository', $titleString, NS_REPOSITORY);
 }
Exemple #5
0
 /**
  * Construct a new person object
  */
 public function __construct($titleString)
 {
     parent::__construct('person', $titleString, NS_PERSON, ESINHandler::ESIN_FOOTER_TAG);
     $this->historicalData = '';
 }
Exemple #6
0
 /**
  * Construct a new mysource object
  */
 public function __construct($titleString)
 {
     parent::__construct('mysource', $titleString, NS_MYSOURCE);
 }
Exemple #7
0
 /**
  * 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);
 }
Exemple #8
0
 /**
  * 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);
 }
Exemple #9
0
 /**
  * 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 = '';
 }
Exemple #10
0
 /**
  * Construct a new SDImage object
  */
 public function __construct($titleString)
 {
     parent::__construct('image_data', $titleString, NS_IMAGE);
     $this->prevPeople = null;
     $this->prevFamilies = null;
 }
Exemple #11
0
 /**
  * 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;
     }
 }