Protected Attributes |
| $belongs_to |
Member Function Documentation
Job_Model::count_all_works |
( |
|
$filter_sql = '' | ) |
|
Counts all rejected works.
- Author
- Michal Kliment
- Parameters
-
- Returns
- number
Job_Model::get_all_approved_works_by_user |
( |
|
$user_id | ) |
|
Function to return all approved works of user.
- Author
- Michal Kliment
- Parameters
-
- Returns
- Mysql_Results
Job_Model::get_all_pending_works_by_user |
( |
|
$user_id | ) |
|
Function to return all pending works of user.
- Author
- Michal Kliment
- Parameters
-
- Returns
- Mysql_Result
Job_Model::get_all_rejected_works_by_user |
( |
|
$user_id | ) |
|
Function to return all rejected works of user.
- Author
- Michal Kliment
- Parameters
-
- Returns
- Mysql_Result
Job_Model::get_all_works |
( |
|
$limit_from = NULL , |
|
|
|
$limit_results = NULL , |
|
|
|
$order_by = NULL , |
|
|
|
$order_by_direction = NULL , |
|
|
|
$filter_sql = '' |
|
) |
| |
Function to return all pending works.
- Author
- Michal Kliment
- Parameters
-
number | $limit_from | |
number | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
array | $filter_values | |
- Returns
- Mysql_Result
Job_Model::get_all_works_by_job_report_id |
( |
|
$job_report_id | ) |
|
Function to return all works belongs to work report.
- Author
- Michal Kliment
- Parameters
-
- Returns
- Mysql_Result
Job_Model::get_suggest_amount |
( |
| ) |
|
Only returns suggest amount of work.
- Author
- Michal Kliment
- Returns
- integer
Member Data Documentation
Initial value: array
(
'user', 'added_by' => 'user',
'approval_template', 'job_report',
'previous_rejected_work' => 'job'
)
The documentation for this class was generated from the following file: