src/Common/Service/View.php
public function unsetData($mKey)
    {
        if (is_array($mKey)) {
            foreach ($mKey as $sSubKey) {
                $this->unsetData($sSubKey);
            }
        } else {
            unset($this->aData[$mKey]);
        }

        return $this;
    }
public function unsetData($mKey)
    {
        if (is_array($mKey)) {
            foreach ($mKey as $sSubKey) {
                $this->unsetData($sSubKey);
            }
        } else {
            unset($this->aData[$mKey]);
        }

        return $this;
    }
public function unsetData ( $ mKey ) { if ( is_array ( $ mKey ) ) { foreach ( $ mKey as $ sSubKey ) { $ this -> unsetData ( $ sSubKey ) ; } } else { unset ( $ this -> aData [ $ mKey ] ) ; } return $ this ; }
Unset an item from the view data array

@param string|array $mKey The key, or keys, to unset

@return $this
Unset an item from the view data array