Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Airship
Engine
Bolt
Slug
PHP Трейт Airship\Engine\Bolt\Slug
Put common methods for slug generation here.
Показать файл
Открыть проект
Защищенные методы
Метод
Описание
makeGenericSlug
(
string
$title
,
string
$table
,
string
$column
= 'slug' ) :
string
Make a generic slug for most tables
Описание методов
makeGenericSlug()
защищенный
метод
Make a generic slug for most tables
protected
makeGenericSlug
(
string
$title
,
string
$table
,
string
$column
= 'slug' ) :
string
$title
string
What are we basing the URL off of?
$table
string
Which table to check for duplicates?
$column
string
Which column to check for duplicates?
Результат
string