sdwebserver/app/Config/Feature.php

30 lines
725 B
PHP
Raw Normal View History

2022-03-14 19:13:10 +01:00
<?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
/**
* Enable/disable backward compatibility breaking features.
*/
class Feature extends BaseConfig
{
/**
2024-04-07 22:17:30 +02:00
* Use improved new auto routing instead of the default legacy version.
*/
public bool $autoRoutesImproved = false;
/**
* Use filter execution order in 4.4 or before.
*/
public bool $oldFilterOrder = false;
/**
* The behavior of `limit(0)` in Query Builder.
2022-03-14 19:13:10 +01:00
*
2024-04-07 22:17:30 +02:00
* If true, `limit(0)` returns all records. (the behavior of 4.4.x or before in version 4.x.)
* If false, `limit(0)` returns no records. (the behavior of 3.1.9 or later in version 3.x.)
2022-03-14 19:13:10 +01:00
*/
2024-04-07 22:17:30 +02:00
public bool $limitZeroAsAll = true;
2022-03-14 19:13:10 +01:00
}