コード例 #1
0
 /**
  * Action to perform. 
  * Returns the request parameter.
  * 
  * @return string
  */
 public function get_action()
 {
     if (Request::is_student_view()) {
         return self::ACTION_INDEX;
     }
     $result = parent::get_action();
     $result = $result ? $result : self::ACTION_DEFAULT;
     return $result;
 }