FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Approval_template_Model Class Reference
Inheritance diagram for Approval_template_Model:
ORM

Public Member Functions

 get_all_approval_templates ($limit_from=0, $limit_results=50, $order_by= 'id', $order_by_direction= 'ASC', $filter_values=array())
 Function to return all approval templates.
 get_state ($approval_template_id=NULL)
 Function to get state of approval template.

Static Public Member Functions

static update_state ($approval_template_id)
 Update state of approval template.

Protected Attributes

 $has_many

Member Function Documentation

Approval_template_Model::get_all_approval_templates (   $limit_from = 0,
  $limit_results = 50,
  $order_by = 'id',
  $order_by_direction = 'ASC',
  $filter_values = array() 
)

Function to return all approval templates.

Author
Michal Kliment
Parameters
number$limit_from
number$limit_results
string$order_by
string$order_by_direction
array$filter_values
Returns
Mysql_Result object
Approval_template_Model::get_state (   $approval_template_id = NULL)

Function to get state of approval template.

Author
Michal Kliment
Parameters
number$approval_template_id
Returns
number
static Approval_template_Model::update_state (   $approval_template_id)
static

Update state of approval template.

Author
Michal Kliment
Parameters
integer$approval_template_id

Member Data Documentation

Approval_template_Model::$has_many
protected
Initial value:
array
(
'approval_template_items', 'jobs', 'job_reports'
)

The documentation for this class was generated from the following file: