메소드 | 설명 | |
---|---|---|
__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 | |
리턴 | integer |
public expense_delete ( integer $id ) : object | ||
$id | integer | -> ID of record |
리턴 | object |
public expense_get ( integer $expId ) : array | ||
$expId | integer | |
리턴 | array | the record's data as array, false on failure |
public get_expense ( integer $id ) : array | ||
$id | integer | ID of entry in table exp |
리턴 | 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 | |
리턴 | array |