(PHP 5 &gt;= 5.0.0)<br/>
Offset to set
@link http://php.net/manual/en/arrayaccess.offsetset.php
@param mixed $offset <p>
The offset to assign the value to.
</p>
@param mixed $value <p>
The value to set.
</p>
@return $this
178902
public function offsetSet($offset, $value)
    {
        if (false === method_exists($this, 'set' . ucfirst($offset))) {
            $this->$offset = $value;

            return $this;
        }

        return $this->{'set' . ucfirst($offset)}($value);
    }
436787
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->_args[count($this->_args)] = $value;
        } else {
            if (is_int($offset)) {
                $this->_args[$offset] = $value;
            } else {
                throw new \Exception('Cannot set offset \''.$offset.'\' of IndexedArray.');
            }
        }
    }
681000
public function offsetSet($offset, $value) {
        if (is_null($offset)) {
            $this->values[] = $value;
        } else {
            $this->values[$offset] = $value;
        }
        $this->tracker->logAddition($value);
    }
870170
public function offsetSet( $offset, $value ) {

		if ( is_array( $this->__container ) ) {
			$this->__container[ $offset ] = $value;
		} else {
			$this->__container->{$offset} = $value;
		}

		return $value;
	}
1364346
public function offsetSet($offset, $value)
    {
        $method = 'set' . ucfirst($offset);
        if (method_exists($this, $method)) {
            $this->{$method}($value);
        } else {
            $method = 'set' . self::matchPropertyName($offset);
            if (method_exists($this, $method)) {
                $this->{$method}($value);
            } else {
                $this->unknownProperties[$offset] = $value;
            }
        }
    }
621251
public function offsetSet($offset, $value)
    {
        if (null === $offset || $offset === $this->_count) {
            $this->insertAt($this->_count, $value);
        } else {
            $this->removeAt($offset);
            $this->insertAt($offset, $value);
        }
    }
870690
public function offsetSet($offset, $value)
    {
        $this->{$this->property($offset)} = $this->checkType($value);
    }
803500
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->lines[] = $value;
        } else {
            $index = $this->findLine($offset);

            if ($index >= 0) {
                $this->lines[$index] = "{$offset}={$value}";
            } else {
                $this->lines[] = "{$offset}={$value}";
            }
        }
    }
799583
public function offsetSet($offset, $value)
    {
        $value = trim($value);

        if ( ! empty($value)) {
            parent::offsetSet($offset, $value);
        }
    }
699139
public function offset( $offset )
    {
        $offset = (int)$offset;
        if( $offset >= 0 )
            $this->offset = $offset;

        return $this;
    }
1315029
public function offsetSet($offset, $value)
    {
        if (is_null($offset) || empty($offset)) {
            return null;
        }
        return $this->records[$offset] = $value;
    }
1302614
public function offsetSet($offset, $value) {
		if (is_array($value)) {
			$this->addChildren($value, is_string($offset) ? $offset : null);
			return;
		}
		
		$this->addChild($value, $offset);
	}
457083
public function offsetSet($offset, $value)
	{
		try
		{
			$this->__set($offset, $value);
		}
		catch (\Exception $e)
		{
			return false;
		}
	}
126075
public function offsetSet($offset, $value)
    {
        if (is_scalar($offset)) {
            $this->_data[$offset] = $value;
        } else {
            $this->_data[] = $value;
        }
    }
1332810
public function offsetSet($offset, $value)
	{
		if ( ! is_scalar($offset))
		{
			throw new \InvalidArgumentException('Wrong offset value.');
		}
		
		$this->options[$offset] = $value;
		
		return $this;
	}
309336
public function offsetSet($offset, $value) {
        if (is_string($value) || is_numeric($value)) {
            $key = md5(trim($offset) . $value);
            if (isset ($this->uniques [ $key ])) {
                return;
            }
            $this->uniques [ $key ] = 1;
        }
        $this->conditions [] = [$offset, $value];
    }
1368686
public function offsetSet($offset, $value)
    {
        foreach ($this->observer as $observer) {
            if (strtolower($observer->getName()) === strtolower($offset)) {
                $this->observer->offsetSet($value);
            }
        }
    }