public function update($new, $options)
    {
        $new = (array) $new;
        $new = $this->App->c::unslash($new);
        $new = $this->App->c::mbTrim($new);

        return $this->merge((array) $options, $new);
    }
public function update($new, $options)
    {
        $new = (array) $new;
        $new = $this->App->c::unslash($new);
        $new = $this->App->c::mbTrim($new);

        return $this->merge((array) $options, $new);
    }
public function update ( $ new , $ options ) { $ new = ( array ) $ new ; $ new = $ this -> App -> c :: unslash ( $ new ) ; $ new = $ this -> App -> c :: mbTrim ( $ new ) ; return $ this -> merge ( ( array ) $ options , $ new ) ; }
Update widget options on save.

@since 160731.37352 Initial release.

@param array $new     New options.
@param array $options Options.

@return array All options after update.
Update widget options on save .