ElggData::offsetUnset PHP Method

offsetUnset() public method

Array access interface
See also: ArrayAccess::offsetUnset()
public offsetUnset ( mixed $key ) : void
$key mixed Name
return void
    public function offsetUnset($key)
    {
        if (array_key_exists($key, $this->attributes)) {
            // Full unsetting is dangerous for our objects
            $this->attributes[$key] = "";
        }
    }