Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phalcon
Utils
Slug
PHP Class Phalcon\Utils\Slug
Show file
Open project: phalcon/incubator
Class Usage Examples
Public Methods
Method
Description
generate
(
string
$string
,
array
$replace
= [],
string
$delimiter
= '-' ) :
string
Creates a slug to be used for pretty URLs.
Method Details
generate()
public
static
method
Creates a slug to be used for pretty URLs.
public
static
generate
(
string
$string
,
array
$replace
= [],
string
$delimiter
= '-' ) :
string
$string
string
$replace
array
$delimiter
string
return
string