Protected Attributes |
| $belongs_to = array('approval_template', 'approval_type') |
Member Function Documentation
Approval_template_item_Model::check_user_vote_rights |
( |
|
$object, |
|
|
|
$object_type, |
|
|
|
$user_id, |
|
|
|
$suggest_amount |
|
) |
| |
Function to check if user have rights to vote.
- Author
- Ondřej Fibich
- Parameters
-
- Returns
- boolean
Approval_template_item_Model::get_all_items_by_template_id |
( |
|
$template_id | ) |
|
Function to return all approval template items belongs to approval template.
- Author
- Michal Kliment
- Parameters
-
- Returns
- Mysql_Result object
Approval_template_item_Model::get_aro_group_by_approval_template_id_and_user_id |
( |
|
$template_id, |
|
|
|
$user_id, |
|
|
|
$suggest_amount = 0 |
|
) |
| |
Returns aro group assigned to user and approval.
- Author
- Michal Kliment
- Parameters
-
number | $template_id | |
number | $user_id | |
number | $suggest_amount | |
- Returns
- Mysql_Result object
Approval_template_item_Model::get_aro_groups_by_approval_template_id |
( |
|
$template_id, |
|
|
|
$suggest_amount = 0 , |
|
|
|
$user_id = 0 |
|
) |
| |
Returns all group assigned to approval.
- Author
- Michal Kliment
- Parameters
-
number | $template_id | |
number | $suggest_amount | |
number | $user_id | |
- Returns
- Mysql_Result object
Approval_template_item_Model::get_aro_ids_by_approval_template_id |
( |
|
$template_id, |
|
|
|
$suggest_amount = 0 |
|
) |
| |
Returns all aro ids assigned to approval.
- Author
- Michal Kliment
- Parameters
-
number | $template_id | |
number | $suggest_amount | |
- Returns
- Mysql_Result object
Approval_template_item_Model::get_highest_priority_of_template |
( |
|
$template_id | ) |
|
Function to return the highest priority of approval template.
- Author
- Michal Kliment
- Parameters
-
- Returns
- number
Approval_template_item_Model::get_lowest_priority_of_template |
( |
|
$template_id | ) |
|
Function to return the lowest priority of approval template.
- Author
- Michal Kliment
- Parameters
-
- Returns
- number
The documentation for this class was generated from the following file:
- approval_template_item.php