Beispiel #1
0
 /**
  * Create the help 'action'
  * @param  path : string : name of the controller and name of the method of the controller
  * @param  variables : string : variables and the values of the variables passed via 'HTTP-GET'
  */
 public static function action($path = false, $variables = false)
 {
     echo 'action="?' . Generating_perfect_url::generating_perfect_url($path, $variables) . '">';
 }
Beispiel #2
0
 public function to($path = false, $variables = false)
 {
     $path = str_replace(".", "=", $path);
     $complete_path = Generating_perfect_url::generating_perfect_url($path, $variables);
     header("Location:?{$complete_path}&p=1");
 }