Revize c1bdc1c4
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/models/approval_template.php | ||
---|---|---|
LIMIT " . intval($limit_from) . ", " . intval($limit_results) . "
|
||
");
|
||
}
|
||
|
||
/**
|
||
* Update state of approval template
|
||
*
|
||
* @author Michal Kliment
|
||
* @param integer $approval_template_id
|
||
*/
|
||
public static function update_state($approval_template_id)
|
||
{
|
||
$approval_template = new Approval_template_Model($approval_template_id);
|
||
$approval_template->state = $approval_template->get_state();
|
||
$approval_template->save_throwable();
|
||
}
|
||
|
||
/**
|
||
* Function to get state of approval template
|
Také k dispozici: Unified diff
Release 1.1.0