Function _slug
Generate a slug of human-readable keywords
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/utility_helper.php
string |
$string |
Text to slug |
string |
$table = '' |
Table name to check in. If it is empty, no check in the table |
array |
$condition = array() |
Condition to append table check-in, e.g, <code>array('fieldName !=' => value)</code> |
string
|
The generated slug |