Array set method
@param  integer $offset
@param  mixed   $value
@return boolean          success
@api
191558
public function offsetSet($offset, $value) {
		if(is_null($offset))
			throw new \LogicException('Offset cannot be empty.');
		else
			$this->save($offset, $value);
	}
1327652
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            throw new \Exception('Must supply key to modify arguments in an AssociativeArray.');
        } else {
            $this->_args[$offset] = $value;
        }
    }
690175
public function offsetSet($offset, $value)
    {
        $data = $this->data;
        if (is_null($offset)) {
            $data[] = $value;
            $this->set($data);

            return;
        }
        $offset = filter_var($offset, FILTER_VALIDATE_INT, array('min_range' => 0));
        if (false === $offset) {
            throw new InvalidArgumentException('Offset must be an integer');
        }
        $data[$offset] = $value;
        $this->set($data);
    }
1373231
public function offsetSet($offset, $value)
    {
        $this->prepareCursor();
        $this->collectionCursor->offsetSet($offset, $value);
    }
1235026
public function offsetSet($offset, $value)
    {
        if ($offset === null) {
            $this->values[] = $value;

            return;
        }

        $keys = explode($this->keySeparator, $offset);

        $keyCount = count($keys);

        $array = &$this->values;

        while ($keyCount > 1) {
            $key = array_shift($keys);

            if (!isset($array[$key]) || !is_array($array[$key])) {
                $array[$key] = [];
            }

            $array = &$array[$key];

            --$keyCount;
        }

        $array[array_shift($keys)] = $value;
    }
761320
public function offsetSet($offset, $value)
    {
        $offset = trim(strval($offset));

        if (!$this->getField($offset)->validate($value)) throw new \InvalidArgumentException($offset . ' validation failed.');
        if ($value !== parent::offsetGet($offset)) $this->modified = true;

        parent::offsetSet($offset, $value);
    }
1368686
public function offsetSet($offset, $value)
    {
        foreach ($this->observer as $observer) {
            if (strtolower($observer->getName()) === strtolower($offset)) {
                $this->observer->offsetSet($value);
            }
        }
    }
368215
public function offsetSet($offset, $value)
	{
		if ($this->offsetExists($offset))
		{
			$index = (int) ($offset / 8);

			if ($value)
			{
				$this->data[$index] = chr(ord($this->data[$index]) | (1 << $offset % 8));
			}
			else
			{
				$this->data[$index] = chr(ord($this->data[$index]) & ~(1 << $offset % 8));
			}
		}
		else
		{
			throw new \OutOfRangeException('Argument index must be a positive integer lesser than the size');
		}
	}
831281
public function offsetSet($offset, $value) 
    {
        //argument 1 must be scalar, null or bool
        Eden_Array_Argument::i()->test(1, 'scalar', 'null', 'bool');

        if (is_null($offset)) {
            $this->data[] = $value;
        } else {
            $this->data[$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);
        }
    }
1202108
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->items[] = $this->normalizeValue($value);
        } else {
            $this->items[$this->normalizeKey($offset)] = $this->normalizeValue($value);
        }
    }
156163
public function offsetSet($offset, $value)
    {
        Argument::i()
            //argument 1 must be scalar, null or bool
            ->test(1, 'scalar', 'null', 'bool')
            //argument 2 must be an array or Eden\Collection\Model
            ->test(2, 'array', $this->model);

        if (is_array($value)) {
            //make it a model
            $model = $this->model;
            $value = $this->$model($value);
        }

        if (is_null($offset)) {
            $this->list[] = $value;
        } else {
            $this->list[$offset] = $value;
        }
    }
1364152
public function offsetSet ( $offset , $value ){
            if($value instanceof \NonDB\Data){
                $value = $value->getArray();
            }
            $this->data[$offset] = $value;
        }
399271
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $offset = $this->_integerToStringKey($this->_integerKeysCounter++);
        }

        $this->_putData($offset, $value);
        return $this;
    }
143235
public function offsetSet($offset, $value)
	{
		list($index_name, $key) = $this->normalizeAccessKey($offset);

		$this->set($key, $value, $index_name);
	}
818090
public function offsetSet($offset, $value)
    {
        if (\is_string($offset) || \is_int($offset)) {
            $this->properties[$offset] = $value;
        }
    }
497185
public function offsetSet($offset, $value)
    {
        if(is_null($offset)) {
            $offset = $this->index;
            $this->index++;
        }
        $this->indexItem = array_push($this->keys, $offset);
        $this->{$offset} = $value;
    }