Example #1
0
 private static function display($item)
 {
     $cols = [Item::delete_action($item["id"]), ItemUtils::type($item["type"]), $item['name'], $item['price'], ItemUtils::second_hand($item["second_hand"]), $item['description']];
     echo Utils::table_line(false, $cols);
 }