Example #1
0
 /**
  * splite commande string with '@'
  */
 protected static function spliteStringCallback($string)
 {
     $data = Strings::splite($string, "@");
     return array('controller' => $data[0], 'methode' => $data[1]);
 }
Example #2
0
 /**
  * get the name of option
  */
 protected function getOptionalKeyValue($opt)
 {
     $data = Strings::splite($opt, "=");
     return $data[0];
 }