mirror of
https://github.com/flextype/flextype.git
synced 2025-08-10 23:24:04 +02:00
Entries: update order of params for getEntries() menthod
This commit is contained in:
@@ -213,7 +213,7 @@ class Entries
|
||||
* @param int $length Length
|
||||
* @return array
|
||||
*/
|
||||
public static function getEntries(string $url = '', bool $raw = false, string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null, bool $multilevel = true) : array
|
||||
public static function getEntries(string $url = '', string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null, bool $multilevel = false, bool $raw = false) : array
|
||||
{
|
||||
// if $url is empty then set path for defined main entry
|
||||
if ($url === '') {
|
||||
|
Reference in New Issue
Block a user