44 return self::lcfirst(str_replace(
' ',
'', ucwords(str_replace(
'_',
' ', $s))));
47 return str_replace(
' ',
'', ucwords(str_replace(
'_',
' ', $s)));
59 return self::smallcase($str);
69 return strtolower(preg_replace(
'/([A-Z])/',
"_\\1",
self::lcfirst($s)));
79 return strtr($s,
' ',
'_');
87 public static function dash($s)
89 return strtr($s,
' ',
'-');
99 return strtr($s,
'_-',
' ');
126 array_splice($array, $position, 0, $insert);
138 foreach ($params as $p) {
140 $match = explode(
': ', $p, 2);
141 if (isset($match[1])) {
142 $data[$match[0]] = $match[1];
161 $items = explode(
',', $lista);
162 return '"' . implode(
'","', $items) .
'"';
201 $s[0] = strtolower($s[0]);