예제 #1
0
 public static function getPath()
 {
     $rPath = "";
     $paths = Strings::splite(self::$path, "/");
     for ($i = 0; $i < count($paths) - 1; $i++) {
         $rPath .= $paths[$i] . "/";
     }
     //
     return $rPath;
 }
예제 #2
0
 /**
  * splite commande string with '@'
  */
 protected static function spliteStringCallback($string)
 {
     $data = Strings::splite($string, "@");
     return array('controller' => $data[0], 'methode' => $data[1]);
 }