mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Fix typo in $page->getMultiple() method phpdoc
This commit is contained in:
@@ -1105,16 +1105,16 @@ class Page extends WireData implements \Countable, WireMatchable {
|
|||||||
*
|
*
|
||||||
* ~~~~~
|
* ~~~~~
|
||||||
* // returns regular array i.e. [ 'foo val', 'bar val' ]
|
* // returns regular array i.e. [ 'foo val', 'bar val' ]
|
||||||
* $a = $page->get([ 'foo', 'bar' ]);
|
* $a = $page->getMultiple([ 'foo', 'bar' ]);
|
||||||
* list($foo, $bar) = $a;
|
* list($foo, $bar) = $a;
|
||||||
*
|
*
|
||||||
* // returns associative array i.e. [ 'foo' => 'foo val', 'bar' => 'bar val' ]
|
* // returns associative array i.e. [ 'foo' => 'foo val', 'bar' => 'bar val' ]
|
||||||
* $a = $page->get([ 'foo', 'bar' ], true);
|
* $a = $page->getMultiple([ 'foo', 'bar' ], true);
|
||||||
* $foo = $a['foo'];
|
* $foo = $a['foo'];
|
||||||
* $bar = $a['bar'];
|
* $bar = $a['bar'];
|
||||||
*
|
*
|
||||||
* // CSV string can also be used instead of array
|
* // CSV string can also be used instead of array
|
||||||
* $a = $page->get('foo,bar');
|
* $a = $page->getMultiple('foo,bar');
|
||||||
* ~~~~~
|
* ~~~~~
|
||||||
*
|
*
|
||||||
* @param array|string $keys Array or CSV string of properties to get.
|
* @param array|string $keys Array or CSV string of properties to get.
|
||||||
|
Reference in New Issue
Block a user