/** * Adds the methods related to refreshing, saving and deleting the object. * @param string &$script The script will be modified in this method. */ protected function addManipulationMethods(&$script) { parent::addManipulationMethods($script); $this->addSaveHooks($script); }