PHP Class Inflector, spaghettiphp

显示文件 Open project: spaghettiphp/spaghettiphp Class Usage Examples

Public Methods

Method Description
camelize ( $string )
humanize ( $string )
hyphenToUnderscore ( $string )
slug ( $string, $replace = '-' )
underscore ( $string )

Method Details

camelize() public static method

public static camelize ( $string )

humanize() public static method

public static humanize ( $string )

hyphenToUnderscore() public static method

public static hyphenToUnderscore ( $string )

slug() public static method

public static slug ( $string, $replace = '-' )

underscore() public static method

public static underscore ( $string )