Changeset 10972
- Timestamp:
- 08/19/08 21:42:59 (11 months ago)
- Files:
-
- branches/1.2/lib/util/sfInflector.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/util/sfInflector.class.php
r9051 r10972 30 30 $tmp = $lower_case_and_underscored_word; 31 31 $tmp = sfToolkit::pregtr($tmp, array('#/(.?)#e' => "'::'.strtoupper('\\1')", 32 '/(^|_ )(.)/e' => "strtoupper('\\2')"));32 '/(^|_|-)+(.)/e' => "strtoupper('\\2')")); 33 33 34 34 return $tmp;

