mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: make method names linkable
This commit is contained in:
parent
c27af00bcf
commit
9953840771
@ -10,31 +10,36 @@ but adds some accessor methods for convenience.
|
||||
Additional Accessors
|
||||
====================
|
||||
|
||||
**getSegments()**
|
||||
getSegments()
|
||||
-------------
|
||||
|
||||
Returns an array of the command line arguments deemed to be part of a path:
|
||||
|
||||
.. literalinclude:: cli_request/001.php
|
||||
|
||||
**getPath()**
|
||||
getPath()
|
||||
---------
|
||||
|
||||
Returns the reconstructed path as a string:
|
||||
|
||||
.. literalinclude:: cli_request/002.php
|
||||
|
||||
**getOptions()**
|
||||
getOptions()
|
||||
------------
|
||||
|
||||
Returns an array of the command line arguments deemed to be options:
|
||||
|
||||
.. literalinclude:: cli_request/003.php
|
||||
|
||||
**getOption($which)**
|
||||
getOption($which)
|
||||
-----------------
|
||||
|
||||
Returns the value of a specific command line argument deemed to be an option:
|
||||
|
||||
.. literalinclude:: cli_request/004.php
|
||||
|
||||
**getOptionString()**
|
||||
getOptionString()
|
||||
-----------------
|
||||
|
||||
Returns the reconstructed command line string for the options:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user