public function updateType(array $postData)
    {
        $model = $this->getType();
        $model->setAttributes($postData);
        return $model->update();
    }
public function updateType(array $postData)
    {
        $model = $this->getType();
        $model->setAttributes($postData);
        return $model->update();
    }
public function updateType ( array $ postData ) { $ model = $ this -> getType ( ) ; $ model -> setAttributes ( $ postData ) ; return $ model -> update ( ) ; }
Update attributes of the current nav item type relation.

@param array $postData
@return boolean Whether the update has been successfull or not
Update attributes of the current nav item type relation .