Method | Description | |
---|---|---|
__call ( $fnName, $arguments ) : mixed | ||
__construct ( array $kga, Kimai_Database_Mysql $database ) | Kimai_Remote_Database constructor. | |
expense_create ( array $data ) : integer | create exp entry | |
expense_delete ( integer $id ) : object | delete exp entry | |
expense_edit ( integer $id, array $data ) : object | edit exp entry | |
expense_get ( integer $expId ) : array | Returns the data of a certain expense record | |
get_expense ( integer $id ) : array | returns single expense entry as array | |
get_expenses ( integer $start, integer $end, integer $users = null, $customers = null, $projects = null, $reverse_order = false, $filter_refundable, integer $filterCleared = null, $startRows, $limitRows, $countOnly = false ) : array | returns expenses for specific user as multidimensional array |
public __construct ( array $kga, Kimai_Database_Mysql $database ) | ||
$kga | array | |
$database | Kimai_Database_Mysql |
public expense_create ( array $data ) : integer | ||
$data | array | |
return | integer |
public expense_delete ( integer $id ) : object | ||
$id | integer | -> ID of record |
return | object |
public expense_get ( integer $expId ) : array | ||
$expId | integer | |
return | array | the record's data as array, false on failure |
public get_expense ( integer $id ) : array | ||
$id | integer | ID of entry in table exp |
return | array |
public get_expenses ( integer $start, integer $end, integer $users = null, $customers = null, $projects = null, $reverse_order = false, $filter_refundable, integer $filterCleared = null, $startRows, $limitRows, $countOnly = false ) : array | ||
$start | integer | |
$end | integer | |
$users | integer | ID of user in table users |
$filterCleared | integer | |
return | array |