���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/clients.dominiquerickard.com/app/Models/Team_model.php
���ѧ٧ѧ�
<?php namespace App\Models; class Team_model extends Crud_model { protected $table = null; function __construct() { $this->table = 'team'; parent::__construct($this->table); } function get_details($options = array()) { $team_table = $this->db->prefixTable('team'); $where = ""; $id = get_array_value($options, "id"); if ($id) { $where = " AND $team_table.id=$id"; } $sql = "SELECT $team_table.* FROM $team_table WHERE $team_table.deleted=0 $where"; return $this->db->query($sql); } function get_members($team_ids = array()) { $team_table = $this->db->prefixTable('team'); $team_ids = implode(",", $team_ids); $sql = "SELECT $team_table.members FROM $team_table WHERE $team_table.deleted=0 AND id in($team_ids)"; return $this->db->query($sql); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.2 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�