framework/basic/RouteHandler.php
public static function preparePart($part, $firstLower = false)
    {
        $result = str_replace(' ', '', ucwords(str_replace('-', ' ', $part)));
        if ($firstLower && mb_strlen($result) > 0) {
            $result[0] = mb_strtolower($result[0]);
        }
        return $result;
    }
public static function preparePart($part, $firstLower = false)
    {
        $result = str_replace(' ', '', ucwords(str_replace('-', ' ', $part)));
        if ($firstLower && mb_strlen($result) > 0) {
            $result[0] = mb_strtolower($result[0]);
        }
        return $result;
    }
public static function preparePart ( $ part , $ firstLower = false ) { $ result = str_replace ( ' ' , '' , ucwords ( str_replace ( '-' , ' ' , $ part ) ) ) ; if ( $ firstLower && mb_strlen ( $ result ) > 0 ) { $ result [ 0 ] = mb_strtolower ( $ result [ 0 ] ) ; } return $ result ; }
Converts main-action to mainAction

@param string $part
@return string
Converts main - action to mainAction