/** * update field from terms table * get fields and value to update * @param array $_args fields data * @param string || int $_id record id * @return mysql result */ public static function update($_args, $_id) { // jost tag can insert $_args['term_type'] = 'tag'; return terms::update($_args, $_id); }
/** * update field from terms table * get fields and value to update * @param array $_args fields data * @param string || int $_id record id * @return mysql result */ public static function update($_args, $_id) { // jost cat can insert $_args['term_type'] = self::check($_args['term_type']); return terms::update($_args, $_id); }