Development

Changeset 10972

You must first sign up to be able to contribute.

Changeset 10972

Show
Ignore:
Timestamp:
08/19/08 21:42:59 (11 months ago)
Author:
FabianLange
Message:

1.2: fixed #3653

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/util/sfInflector.class.php

    r9051 r10972  
    3030    $tmp = $lower_case_and_underscored_word; 
    3131    $tmp = sfToolkit::pregtr($tmp, array('#/(.?)#e'    => "'::'.strtoupper('\\1')", 
    32                                          '/(^|_)(.)/e' => "strtoupper('\\2')")); 
     32                                         '/(^|_|-)+(.)/e' => "strtoupper('\\2')")); 
    3333 
    3434    return $tmp; 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.