Changeset 4545 for branches/0.11/vendor
- Timestamp:
- 06/22/08 04:46:30 (7 months ago)
- Files:
-
- 1 modified
-
branches/0.11/vendor/Sensei/Sensei/Doc/Section.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/vendor/Sensei/Sensei/Doc/Section.php
r4541 r4545 394 394 public static function convertNameToPath($name) 395 395 { 396 $patterns = '/\s/';397 $replacements = '-';398 396 $patterns = array('/\s/', '/\(|\)/'); 397 $replacements = array('-', ''); 398 399 399 return preg_replace($patterns, $replacements, strtolower($name)); 400 400 }