ElggData::offsetSet PHP 메소드

offsetSet() 공개 메소드

Array access interface
또한 보기: ArrayAccess::offsetSet()
public offsetSet ( mixed $key, mixed $value ) : void
$key mixed Name
$value mixed Value
리턴 void
    public function offsetSet($key, $value)
    {
        if (array_key_exists($key, $this->attributes)) {
            $this->attributes[$key] = $value;
        }
    }