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 |
string|array |
$condition = null |
<p>Condition to append table check-in, e.g, <code>fieldName != value</code> or <code>array('fieldName !=' => value)</code></p> |
string
|
The generated slug |