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
769059
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getDtCall();
                break;
            case 2:
                return $this->getRemoteAppId();
                break;
            case 3:
                return $this->getStatuscode();
                break;
            case 4:
                return $this->getLastResponse();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1106548
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getMaxClients();
                break;
            case 2:
                return $this->getDomain();
                break;
            case 3:
                return $this->getValidUntil();
                break;
            case 4:
                return $this->getSerial();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1074538
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setMapuid($value);
                break;
            case 2:
                $this->setNblaps($value);
                break;
            case 3:
                $this->setScore($value);
                break;
            case 4:
                $this->setNbfinish($value);
                break;
            case 5:
                $this->setAvgscore($value);
                break;
            case 6:
                $this->setCheckpoints($value);
                break;
            case 7:
                $this->setPlayerId($value);
                break;
            case 8:
                $this->setCreatedAt($value);
                break;
            case 9:
                $this->setUpdatedAt($value);
                break;
        } // switch()

        return $this;
    }
730887
static public function ExtractUShort($str, &$pos)
    {
        $bytes = substr($str, $pos, 2);
        $ushort = Utility::Word2UShort($bytes);
        $pos += 2;

        return $ushort;
    }
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()
    }
904613
public function flip($pos = null){
		
		if(\is_int($pos)){
			$this->_List[$pos] = !$this->_List[$pos];
		}
		else{
			$this->_List = $this->_List->map(function($v){
				return !$v;
			});
		}
		
	}
1193803
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getUserId();
                break;
            case 2:
                return $this->getCustomerId();
                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();
		}
	}
1063824
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setStructureNodeId($value);
                break;
            case 1:
                $this->setParentId($value);
                break;
        } // switch()

        return $this;
    }
297206
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->getIsTutorial();
                break;
            case 5:
                return $this->getAthlete();
                break;
            case 6:
                return $this->getAthleteId();
                break;
            case 7:
                return $this->getUploaderId();
                break;
            case 8:
                return $this->getSkillId();
                break;
            case 9:
                return $this->getReferenceId();
                break;
            case 10:
                return $this->getPosterUrl();
                break;
            case 11:
                return $this->getProvider();
                break;
            case 12:
                return $this->getProviderId();
                break;
            case 13:
                return $this->getPlayerUrl();
                break;
            case 14:
                return $this->getWidth();
                break;
            case 15:
                return $this->getHeight();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1067881
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setName($value);
                break;
            case 2:
                $this->setCreateDate($value);
                break;
            case 3:
                $this->setDescription($value);
                break;
            case 4:
                $this->setUpdateDate($value);
                break;
            case 5:
                $this->setStatus($value);
                break;
            case 6:
                $this->setParentId($value);
                break;
        } // switch()

        return $this;
    }
1362558
public function item($path, $pos=0) {
		return new Node($this->xpath->evaluate($path)->item($pos));
	}
186148
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setTitle($value);
                break;
            case 2:
                $this->setDescription($value);
                break;
            case 3:
                $this->setUrl($value);
                break;
            case 4:
                $this->setIsTutorial($value);
                break;
            case 5:
                $this->setAthlete($value);
                break;
            case 6:
                $this->setAthleteId($value);
                break;
            case 7:
                $this->setUploaderId($value);
                break;
            case 8:
                $this->setSkillId($value);
                break;
            case 9:
                $this->setReferenceId($value);
                break;
            case 10:
                $this->setPosterUrl($value);
                break;
            case 11:
                $this->setProvider($value);
                break;
            case 12:
                $this->setProviderId($value);
                break;
            case 13:
                $this->setPlayerUrl($value);
                break;
            case 14:
                $this->setWidth($value);
                break;
            case 15:
                $this->setHeight($value);
                break;
        } // switch()

        return $this;
    }
42787
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getName();
                break;
            case 2:
                return $this->getRole();
                break;
            default:
                return null;
                break;
        } // switch()
    }
772620
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setType($value);
                break;
            case 2:
                $this->setTitle($value);
                break;
            case 3:
                $this->setYear($value);
                break;
            case 4:
                $this->setPublisher($value);
                break;
            case 5:
                $this->setJournal($value);
                break;
            case 6:
                $this->setNumber($value);
                break;
            case 7:
                $this->setSchool($value);
                break;
            case 8:
                $this->setAuthor($value);
                break;
            case 9:
                $this->setEdition($value);
                break;
            case 10:
                $this->setVolume($value);
                break;
            case 11:
                $this->setAddress($value);
                break;
            case 12:
                $this->setEditor($value);
                break;
            case 13:
                $this->setHowpublished($value);
                break;
            case 14:
                $this->setNote($value);
                break;
            case 15:
                $this->setBooktitle($value);
                break;
            case 16:
                $this->setPages($value);
                break;
            case 17:
                $this->setUrl($value);
                break;
            case 18:
                $this->setLastchecked($value);
                break;
            case 19:
                $this->setManaged($value);
                break;
        } // switch()

        return $this;
    }
79445
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setUsername($value);
                break;
            case 2:
                $this->setPassword($value);
                break;
            case 3:
                $this->setFirstName($value);
                break;
            case 4:
                $this->setLastName($value);
                break;
            case 5:
                $this->setCreateDate($value);
                break;
            case 6:
                $this->setUpdateDate($value);
                break;
            case 7:
                $this->setStatus($value);
                break;
        } // switch()

        return $this;
    }
1216166
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getTitle();
                break;
            case 2:
                return $this->getHost();
                break;
            case 3:
                return $this->getEndpoint();
                break;
            case 4:
                return $this->getCreatedAt();
                break;
            case 5:
                return $this->getUpdatedAt();
                break;
            default:
                return null;
                break;
        } // switch()
    }