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
334490
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getActive();
                break;
            case 2:
                return $this->getFiltertype();
                break;
            case 3:
                return $this->getCode();
                break;
            default:
                return null;
                break;
        } // switch()
    }
935259
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getType();
                break;
            case 2:
                return $this->getTitle();
                break;
            case 3:
                return $this->getYear();
                break;
            case 4:
                return $this->getPublisher();
                break;
            case 5:
                return $this->getJournal();
                break;
            case 6:
                return $this->getNumber();
                break;
            case 7:
                return $this->getSchool();
                break;
            case 8:
                return $this->getAuthor();
                break;
            case 9:
                return $this->getEdition();
                break;
            case 10:
                return $this->getVolume();
                break;
            case 11:
                return $this->getAddress();
                break;
            case 12:
                return $this->getEditor();
                break;
            case 13:
                return $this->getHowpublished();
                break;
            case 14:
                return $this->getNote();
                break;
            case 15:
                return $this->getBooktitle();
                break;
            case 16:
                return $this->getPages();
                break;
            case 17:
                return $this->getUrl();
                break;
            case 18:
                return $this->getLastchecked();
                break;
            case 19:
                return $this->getManaged();
                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()
    }
1229572
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setLogin($value);
                break;
            case 2:
                $this->setMapuid($value);
                break;
            case 3:
                $this->setScore($value);
                break;
            case 4:
                $this->setCreatedAt($value);
                break;
            case 5:
                $this->setUpdatedAt($value);
                break;
        } // switch()

        return $this;
    }
965378
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->getSalt();
                break;
            case 4:
                return $this->getFirstname();
                break;
            case 5:
                return $this->getLastname();
                break;
            case 6:
                return $this->getEmail();
                break;
            case 7:
                return $this->getPhone();
                break;
            case 8:
                return $this->getMemo();
                break;
            case 9:
                return $this->getActivated();
                break;
            case 10:
                return $this->getLastLogin();
                break;
            case 11:
                return $this->getNotificationChange();
                break;
            case 12:
                return $this->getNotificationError();
                break;
            default:
                return null;
                break;
        } // switch()
    }
263270
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getType();
                break;
            case 2:
                return $this->getDateTime();
                break;
            case 3:
                return $this->getUserId();
                break;
            case 4:
                return $this->getUsername();
                break;
            case 5:
                return $this->getSessionId();
                break;
            case 6:
                return $this->getClientAddress();
                break;
            case 7:
                return $this->getClientIp();
                break;
            case 8:
                return $this->getClientAgent();
                break;
            case 9:
                return $this->getClientPlatform();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1259942
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getPersonId();
                break;
            case 2:
                return $this->getFunctionId();
                break;
            case 3:
                return $this->getCreatedAt();
                break;
            case 4:
                return $this->getUpdatedAt();
                break;
            default:
                return null;
                break;
        } // switch()
    }
887586
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->getUrl();
                break;
            case 5:
                return $this->getMime();
                break;
            case 6:
                return $this->getWidth();
                break;
            case 7:
                return $this->getHeight();
                break;
            case 8:
                return $this->getSize();
                break;
            case 9:
                return $this->getSha1();
                break;
            case 10:
                return $this->getThumburl();
                break;
            case 11:
                return $this->getThumbmime();
                break;
            case 12:
                return $this->getThumbwidth();
                break;
            case 13:
                return $this->getThumbheight();
                break;
            case 14:
                return $this->getThumbsize();
                break;
            case 15:
                return $this->getDescriptionurl();
                break;
            case 16:
                return $this->getDescriptionurlshort();
                break;
            case 17:
                return $this->getImagedescription();
                break;
            case 18:
                return $this->getDatetimeoriginal();
                break;
            case 19:
                return $this->getArtist();
                break;
            case 20:
                return $this->getLicenseshortname();
                break;
            case 21:
                return $this->getUsageterms();
                break;
            case 22:
                return $this->getAttributionrequired();
                break;
            case 23:
                return $this->getRestrictions();
                break;
            case 24:
                return $this->getTimestamp();
                break;
            case 25:
                return $this->getUser();
                break;
            case 26:
                return $this->getUserid();
                break;
            case 27:
                return $this->getMissing();
                break;
            case 28:
                return $this->getKnown();
                break;
            case 29:
                return $this->getImagerepository();
                break;
            case 30:
                return $this->getCreatedAt();
                break;
            case 31:
                return $this->getUpdatedAt();
                break;
            default:
                return null;
                break;
        } // switch()
    }
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()
    }
578002
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getLogin();
                break;
            case 2:
                return $this->getNickname();
                break;
            case 3:
                return $this->getNicknameStripped();
                break;
            case 4:
                return $this->getPath();
                break;
            case 5:
                return $this->getWins();
                break;
            case 6:
                return $this->getOnlineTime();
                break;
            case 7:
                return $this->getLastOnline();
                break;
            default:
                return null;
                break;
        } // switch()
    }
1335508
private function getSourcePosition($pos)
    {
        $low = 0;
        $high = count($this->sourcePositions);

        while ($low < $high) {
            $mid = (int) (($high + $low) / 2);

            if ($pos < $this->sourcePositions[$mid]) {
                $high = $mid - 1;
                continue;
            }

            if ($pos >= $this->sourcePositions[$mid + 1]) {
                $low = $mid + 1;
                continue;
            }

            return [$mid + 1, $pos - $this->sourcePositions[$mid]];
        }

        return [$low + 1, $pos - $this->sourcePositions[$low]];
    }
1176118
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setTitle($value);
                break;
            case 2:
                $this->setSlug($value);
                break;
            case 3:
                $this->setFixed($value);
                break;
            case 4:
                $this->setDescription($value);
                break;
            case 5:
                $this->setSportId($value);
                break;
            case 6:
                $this->setSkillCount($value);
                break;
        } // switch()

        return $this;
    }
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;
    }
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;
    }
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()
    }
524258
public function getValuesForPosition($pos) {
        $arr = array();
        foreach ($this->rows as $key => $row) {
            $arr[$key] = $row->getValueForPosition($pos);
        }
        return $arr;
    }
1302312
public function getByPosition($pos)
    {
        switch ($pos) {
            case 0:
                return $this->getId();
                break;
            case 1:
                return $this->getType();
                break;
            case 2:
                return $this->getSkillId();
                break;
            case 3:
                return $this->getTitle();
                break;
            case 4:
                return $this->getDescendantClass();
                break;
            default:
                return null;
                break;
        } // switch()
    }