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

@param      int $pos position in xml schema
@param      mixed $value field value
@return void
553367
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setLocale($value);
                break;
            case 2:
                $this->setTitle($value);
                break;
            case 3:
                $this->setDescription($value);
                break;
            case 4:
                $this->setChapo($value);
                break;
            case 5:
                $this->setPostscriptum($value);
                break;
        } // switch()
    }
1047557
public function setValue(array $position, $value)
    {
        if (!$this->validatePosition($position)) {
           return false;
        }

        list ($xPos, $yPos) = $position;

        if (!empty($this->board[$xPos][$yPos])) {
            return false;
        }

        $this->board[$xPos][$yPos] = $value;

    }
993694
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->setSalt($value);
                break;
            case 4:
                $this->setFirstname($value);
                break;
            case 5:
                $this->setLastname($value);
                break;
            case 6:
                $this->setEmail($value);
                break;
            case 7:
                $this->setPhone($value);
                break;
            case 8:
                $this->setMemo($value);
                break;
            case 9:
                $this->setActivated($value);
                break;
            case 10:
                $this->setLastLogin($value);
                break;
            case 11:
                $this->setNotificationChange($value);
                break;
            case 12:
                $this->setNotificationError($value);
                break;
        } // switch()
    }
997332
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setSenderlogin($value);
                break;
            case 2:
                $this->setReceiverlogin($value);
                break;
            case 3:
                $this->setTransactionid($value);
                break;
            case 4:
                $this->setBillid($value);
                break;
            case 5:
                $this->setAmount($value);
                break;
            case 6:
                $this->setMessage($value);
                break;
            case 7:
                $this->setStatus($value);
                break;
            case 8:
                $this->setDatetime($value);
                break;
        } // switch()

        return $this;
    }
1103980
public void setPosition(int pos) {
		if (pos < 0 || pos >= number)
			throw new IllegalArgumentException("Position " + pos + " out of range");
		position = pos;
		updateLocationDefinition(position);
		forwardButton.setEnabled(position < number - 1);
		backwardButton.setEnabled(position > 0);
		if (panel.getParent()!=null) positionChanged();
	}
306306
public function reset($pos = null){
		
		if(\is_int($pos)){
			$this->offsetSet($pos, false);
		}
		else{
			$this->_List = ArrayList::repeat(false, $this->count());
		}
		
	}
945231
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setVisible($value);
                break;
            case 2:
                $this->setAddress1($value);
                break;
            case 3:
                $this->setAddress2($value);
                break;
            case 4:
                $this->setAddress3($value);
                break;
            case 5:
                $this->setZipcode($value);
                break;
            case 6:
                $this->setCity($value);
                break;
            case 7:
                $this->setCountryId($value);
                break;
            case 8:
                $this->setLatitude($value);
                break;
            case 9:
                $this->setLongitude($value);
                break;
            case 10:
                $this->setCreatedAt($value);
                break;
            case 11:
                $this->setUpdatedAt($value);
                break;
            case 12:
                $this->setVersion($value);
                break;
            case 13:
                $this->setVersionCreatedAt($value);
                break;
            case 14:
                $this->setVersionCreatedBy($value);
                break;
        } // switch()
    }
460671
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setCode($value);
                break;
            case 2:
                $this->setEn($value);
                break;
            case 3:
                $this->setDe($value);
                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;
    }
402517
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setType($value);
                break;
            case 2:
                $this->setDateTime($value);
                break;
            case 3:
                $this->setUserId($value);
                break;
            case 4:
                $this->setUsername($value);
                break;
            case 5:
                $this->setSessionId($value);
                break;
            case 6:
                $this->setClientAddress($value);
                break;
            case 7:
                $this->setClientIp($value);
                break;
            case 8:
                $this->setClientAgent($value);
                break;
            case 9:
                $this->setClientPlatform($value);
                break;
        } // switch()

        return $this;
    }
462352
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setCategoryId($value);
                break;
            case 1:
                $this->setPageId($value);
                break;
        } // switch()

        return $this;
    }
1104222
public function push($value)
    {
        $this->offsetSet($this->count(), $value);
        $this->seek($this->count() - 1);
    }
862772
protected function setNode($type, $pos)
    {
        if ($this->nodeType == 'tag') {
            // set tag specific vars to null
            // $type == tag should not be called here
            // see this::parseTag() for more
            $this->tagName = null;
            $this->tagAttributes = null;
            $this->isStartTag = null;
            $this->isEmptyTag = null;
            $this->isBlockElement = null;

        }
        $this->nodeType = $type;
        $this->node = substr($this->html, 0, $pos);
        $this->html = substr($this->html, $pos);
    }
85388
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setType($value);
                break;
            case 2:
                $this->setSkillId($value);
                break;
            case 3:
                $this->setTitle($value);
                break;
            case 4:
                $this->setDescendantClass($value);
                break;
        } // switch()

        return $this;
    }
203880
public function setPosition($value)
    {
        if (!ControlPosition::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "position" value');
        }
        $this->options['position'] = new JsExpression($value);
    }
574591
public function offsetSet($offset, $value) {
		$this->getElements();
        $this->elements[$this->getPosition($offset)] = $value;
    }
860939
public function setByPosition($pos, $value)
    {
        switch ($pos) {
            case 0:
                $this->setId($value);
                break;
            case 1:
                $this->setFeatureAvId($value);
                break;
            case 2:
                $this->setFeatureFeatureTypeId($value);
                break;
            case 3:
                $this->setLocale($value);
                break;
            case 4:
                $this->setValue($value);
                break;
            case 5:
                $this->setCreatedAt($value);
                break;
            case 6:
                $this->setUpdatedAt($value);
                break;
        } // switch()
    }