예제 #1
0
 /**
  * @function index
  * @public
  * @returns NONE
  * @desc This method controls what happens when you move to /admin or /admin/index in your app.
  * @param NONE
  * @example NONE
  */
 public function index()
 {
     //    $this->View->render('student/index',
     $this->View->renderEx('student/index', array('subjs' => StudentModel::getSubjects()));
 }
예제 #2
0
                          <form method="post" onsubmit="return verifySubmit();" autocomplete="off">
<!--
                          <form method="post" onsubmit="return verifySubmit();" action="<?php 
echo Config::get('URL');
?>
HelpRequest/create">
-->
                            <input type="hidden" id="hidden_val">

                            <div class="col-xs-4 col-xs-offset-4">
                              <input type="text" class="form-control" id="input_text_field" name="" placeholder="Device table #" required>
                            </div>

                            <!--
                            <?php 
foreach (StudentModel::getSubjects() as $subj) {
    ?>
                              <option value="<?php 
    echo $subj->name;
    ?>
"><?php 
    echo $subj->name;
    ?>
</option>
                            <?php 
}
?>
                            -->

                            <br>