Retrieves a field from the object by Position as specified in the xml schema.
Zero-based.

@param      int $pos position in xml schema
@return mixed Value of field at $pos
512930
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getUsername();
                break;
            case 2:
                return $this->getPassword();
                break;
            case 3:
                return $this->getFirstName();
                break;
            case 4:
                return $this->getLastName();
                break;
            case 5:
                return $this->getCreateDate();
                break;
            case 6:
                return $this->getUpdateDate();
                break;
            case 7:
                return $this->getStatus();
                break;
            default:
                return null;
                break;
        } // switch()
    }
220006
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getTitle();
                break;
            case 2:
                return $this->getDescription();
                break;
            case 3:
                return $this->getUrl();
                break;
            case 4:
                return $this->getThumbUrl();
                break;
            case 5:
                return $this->getSkillId();
                break;
            case 6:
                return $this->getPhotographer();
                break;
            case 7:
                return $this->getPhotographerId();
                break;
            case 8:
                return $this->getAthlete();
                break;
            case 9:
                return $this->getAthleteId();
                break;
            case 10:
                return $this->getUploaderId();
                break;
            default:
                return null;
                break;
        } // switch()
    }
346695
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getCode();
                break;
            case 2:
                return $this->getDriverCode();
                break;
            case 3:
                return $this->getTitle();
                break;
            case 4:
                return $this->getSerializedConfiguration();
                break;
            default:
                return;
                break;
        } // switch()
    }
382641
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getFile();
                break;
            case 2:
                return $this->getPersonId();
                break;
            case 3:
                return $this->getVisible();
                break;
            case 4:
                return $this->getPosition();
                break;
            case 5:
                return $this->getCreatedAt();
                break;
            case 6:
                return $this->getUpdatedAt();
                break;
            case 7:
                return $this->getVersion();
                break;
            case 8:
                return $this->getVersionCreatedAt();
                break;
            case 9:
                return $this->getVersionCreatedBy();
                break;
            case 10:
                return $this->getPersonIdVersion();
                break;
            default:
                return null;
                break;
        } // switch()
    }
270760
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getCreatedAt();
                break;
            case 2:
                return $this->getUpdatedAt();
                break;
            default:
                return null;
                break;
        } // switch()
    }
686361
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getName();
                break;
            case 2:
                return $this->getDescription();
                break;
            case 3:
                return $this->getCreateDate();
                break;
            case 4:
                return $this->getUpdateDate();
                break;
            case 5:
                return $this->getStatus();
                break;
            default:
                return null;
                break;
        } // switch()
    }
674771
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getPersonId();
                break;
            case 2:
                return $this->getTeamId();
                break;
            case 3:
                return $this->getCreatedAt();
                break;
            case 4:
                return $this->getUpdatedAt();
                break;
            case 5:
                return $this->getVersion();
                break;
            case 6:
                return $this->getVersionCreatedAt();
                break;
            case 7:
                return $this->getVersionCreatedBy();
                break;
            case 8:
                return $this->getPersonIdVersion();
                break;
            case 9:
                return $this->getTeamIdVersion();
                break;
            default:
                return null;
                break;
        } // switch()
    }
631652
public function text($path=null, $pos=0) {
		if($this->xpath === null)
			return null;
		if(!$path)
			return trim($this->domnode->nodeValue);
		else {
			$item = $this->item($path, $pos);
			if($item === null)
				return null;
			return $item->text();
		}
	}
609583
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setPartId($value);
                break;
            case 1:
                $this->setCompositeId($value);
                break;
        } // switch()

        return $this;
    }
885545
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getSourceId();
                break;
            case 2:
                return $this->getPageid();
                break;
            case 3:
                return $this->getTitle();
                break;
            case 4:
                return $this->getDisplaytitle();
                break;
            case 5:
                return $this->getPageImageFree();
                break;
            case 6:
                return $this->getWikibaseItem();
                break;
            case 7:
                return $this->getDisambiguation();
                break;
            case 8:
                return $this->getDefaultsort();
                break;
            case 9:
                return $this->getCreatedAt();
                break;
            case 10:
                return $this->getUpdatedAt();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1161572
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getVisible();
                break;
            case 2:
                return $this->getAddress1();
                break;
            case 3:
                return $this->getAddress2();
                break;
            case 4:
                return $this->getAddress3();
                break;
            case 5:
                return $this->getZipcode();
                break;
            case 6:
                return $this->getCity();
                break;
            case 7:
                return $this->getCountryId();
                break;
            case 8:
                return $this->getLatitude();
                break;
            case 9:
                return $this->getLongitude();
                break;
            case 10:
                return $this->getCreatedAt();
                break;
            case 11:
                return $this->getUpdatedAt();
                break;
            case 12:
                return $this->getVersion();
                break;
            case 13:
                return $this->getVersionCreatedAt();
                break;
            case 14:
                return $this->getVersionCreatedBy();
                break;
            default:
                return null;
                break;
        } // switch()
    }
33445
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getRemoteAppId();
                break;
            case 2:
                return $this->getApiversion();
                break;
            case 3:
                return $this->getName();
                break;
            case 4:
                return $this->getVersion();
                break;
            case 5:
                return $this->getConfigDisplayerrors();
                break;
            case 6:
                return $this->getConfigBypasscache();
                break;
            case 7:
                return $this->getConfigMinifymarkup();
                break;
            case 8:
                return $this->getConfigDebugmode();
                break;
            case 9:
                return $this->getConfigMaintenancemode();
                break;
            case 10:
                return $this->getConfigGzipscripts();
                break;
            case 11:
                return $this->getConfigRewriteurl();
                break;
            case 12:
                return $this->getConfigAdminemail();
                break;
            case 13:
                return $this->getConfigCachemode();
                break;
            case 14:
                return $this->getStatuscode();
                break;
            case 15:
                return $this->getExtensions();
                break;
            case 16:
                return $this->getLog();
                break;
            case 17:
                return $this->getPHP();
                break;
            case 18:
                return $this->getMySQL();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1134779
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getTitle();
                break;
            case 2:
                return $this->getSlug();
                break;
            case 3:
                return $this->getSportId();
                break;
            case 4:
                return $this->getDescription();
                break;
            default:
                return null;
                break;
        } // switch()
    }
598072
protected function parseLongForm($pos)
	{
		$pos = $this->text->indexOf($this->syntaxChar . '(', $pos);
		if ($pos === false)
		{
			return;
		}

		preg_match_all($this->longRegexp, $this->text, $matches, PREG_OFFSET_CAPTURE, $pos);
		foreach ($matches[0] as list($match, $matchPos))
		{
			$matchLen = strlen($match);

			$this->parser->addTagPair($this->tagName, $matchPos, 2, $matchPos + $matchLen - 1, 1);
			$this->text->overwrite($matchPos, $matchLen);
		}
		if (!empty($matches[0]))
		{
			$this->parseLongForm($pos);
		}
	}
67949
public function mapPos($pos){
       
        foreach ($this->snippets as $k => $v){
            $pos += $k;
            if($pos < $k + strlen($v)){
                break;
            }
            $pos -= ($k + strlen($v));
            
        }
        return $pos;
    }
366897
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setLogin($value);
                break;
            case 2:
                $this->setNickname($value);
                break;
            case 3:
                $this->setNicknameStripped($value);
                break;
            case 4:
                $this->setPath($value);
                break;
            case 5:
                $this->setWins($value);
                break;
            case 6:
                $this->setOnlineTime($value);
                break;
            case 7:
                $this->setLastOnline($value);
                break;
        } // switch()

        return $this;
    }
715246
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getSenderlogin();
                break;
            case 2:
                return $this->getReceiverlogin();
                break;
            case 3:
                return $this->getTransactionid();
                break;
            case 4:
                return $this->getBillid();
                break;
            case 5:
                return $this->getAmount();
                break;
            case 6:
                return $this->getMessage();
                break;
            case 7:
                return $this->getStatus();
                break;
            case 8:
                return $this->getDatetime();
                break;
            default:
                return null;
                break;
        } // switch()
    }