public customer_get_data ( integer $customerID ) : array | ||
$customerID | integer | id of the customer |
리턴 | array | the customer's data, false on failure |
public function customer_get_data($customerID)
{
$filter['customerID'] = MySQL::SQLValue($customerID, MySQL::SQLVALUE_NUMBER);
$table = $this->getCustomerTable();
$result = $this->conn->SelectRows($table, $filter);
if (!$result) {
$this->logLastError('customer_get_data');
return false;
}
return $this->conn->RowArray(0, MYSQLI_ASSOC);
}