本文整理汇总了PHP中Requirements::perform_actions方法的典型用法代码示例。如果您正苦于以下问题:PHP Requirements::perform_actions方法的具体用法?PHP Requirements::perform_actions怎么用?PHP Requirements::perform_actions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Requirements
的用法示例。
在下文中一共展示了Requirements::perform_actions方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: viewNext_Add_Requirements
var_dump("sy-sem:'$sy_sem' title:'$requirement_title' desc:'$requirement_desc' type:'$requirement_type' sig:'$signatory' ".
"appl:'$requirement_application' department:'$department' course:'$courses' yearlevel:'$year_level' program:'$program'");
*/
//$this->requirement_model->addRequirement($requirement_title, $requirement_desc, $thisSignantory, $sy_sem, $requirement_application, $department, $courses, $year_level, $program, $requirement_type, $signatory);
$this->requirement_model->editRequirement($id, $requirement_title, $requirement_desc, $thisSignantory, $sy_sem, $requirement_application, $department, $courses, $year_level, $program, $requirement_type, $signatory);
header("location:requirements.php");
}
/*----------- For the next page for Adding Requirements ------------*/
public function viewNext_Add_Requirements($T_title, $T_desc)
{
$this->template->setPageName("Adding Requirements Page");
$this->template->setContent("Next_Add_Requirements.tpl");
}
/*------------ Display UI -----------------*/
public function display()
{
$this->template->display('bootstrap.tpl');
}
public function getMaximumStrLen($strArray)
{
$temp = array();
foreach ($strArray as $value) {
$hold = strlen($value) > 15 ? substr($value, 0, 15) . "........ .... ." : $value;
array_push($temp, $hold);
}
return $temp;
}
}
$controller = new Requirements();
$controller->perform_actions();
$controller->display();