mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
The $order param allows both a string and array
This commit is contained in:
parent
fc061a55c4
commit
a57b4c3432
1 changed files with 1 additions and 1 deletions
|
@ -1648,7 +1648,7 @@ class Model extends CakeObject implements CakeEventListener {
|
|||
*
|
||||
* @param string $name The name of the field to get.
|
||||
* @param array $conditions SQL conditions (defaults to NULL).
|
||||
* @param string $order SQL ORDER BY fragment.
|
||||
* @param string|array $order SQL ORDER BY fragment.
|
||||
* @return string|false Field content, or false if not found.
|
||||
* @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-field
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue