Kimai_Database_Mysql::status_get_data PHP Method

status_get_data() public method

Returns the data of a certain status
Author: mo
public status_get_data ( array $statusID ) : array
$statusID array ID of the group
return array the group's data (name) as array, false on failure
    public function status_get_data($statusID)
    {
        $filter['statusID'] = MySQL::SQLValue($statusID, MySQL::SQLVALUE_NUMBER);
        $table = $this->kga['server_prefix'] . "statuses";
        $result = $this->conn->SelectRows($table, $filter);
        if (!$result) {
            $this->logLastError('status_get_data');
            return false;
        } else {
            return $this->conn->RowArray(0, MYSQLI_ASSOC);
        }
    }
Kimai_Database_Mysql