Function _arg
Return a component of the current path. When viewing a page http://www.example.com/foo/bar and its path would be "foo/bar", for example, _arg(0) returns "foo" and _arg(1) returns "bar"
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/security_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/security_helper.php
mixed |
$index = null |
<p>The index of the component, where each component is separated by a '/' (forward-slash), and where the first component has an index of 0 (zero).</p> |
string |
$path = null |
A path to break into components. Defaults to the path of the current page. |
mixed
|
The component specified by |