public static function remove($report_id) { $q = new dquery(RUDE_DATABASE_TABLE_CALENDAR_ITEMS); $q->where(RUDE_DATABASE_FIELD_REPORT_ID, (int) $report_id); $q->query(); return $q->affected(); }
public static function remove($item_id) { if (static::is_exists($item_id)) { $q = new dquery(RUDE_DATABASE_TABLE_EDUCATION_ITEMS_VALUES); $q->where('item_id', (int) $item_id); $q->query(); return $q->affected(); } return false; }
public static function remove($id) { if (static::is_exists($id)) { $q = new dquery(RUDE_DATABASE_TABLE_REPORTS_CATEGORIES_ITEMS); $q->where(RUDE_DATABASE_FIELD_ID, (int) $id); $q->query(); return $q->affected(); } return false; }
public static function remove($id) { if (static::is_exists($id)) { $q = new dquery(RUDE_DATABASE_TABLE_CALENDAR_LEGEND); $q->where(RUDE_DATABASE_FIELD_ID, (int) $id); $q->query(); return $q->affected(); } return false; }
public static function remove($id) { if (static::is_exists($id)) { $q = new dquery(RUDE_DATABASE_TABLE_EDUCATION_ITEMS_PREVIEW); $q->where(RUDE_DATABASE_FIELD_ID, (int) $id); $q->query(); return $q->affected(); } return false; }