/** * Execute actions * * @param string &$action Action * @param int $id Id of object (may be empty for creation) * @return int <0 if KO, >0 if OK */ function doActions(&$action, $id) { $ret = $this->getObject($id); $return = parent::doActions($action); return $return; }
/** * Execute actions * @param Id of object (may be empty for creation) */ function doActions($socid) { $return = parent::doActions($socid); return $return; }