2022-01-04 15:40:27 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace Config;
|
|
|
|
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable/disable backward compatibility breaking features.
|
|
|
|
*/
|
|
|
|
class Feature extends BaseConfig
|
|
|
|
{
|
|
|
|
/**
|
2024-04-26 09:26:22 +00:00
|
|
|
* Use improved new auto routing instead of the default legacy version.
|
2022-01-04 15:40:27 +00:00
|
|
|
*/
|
2024-04-26 09:26:22 +00:00
|
|
|
public bool $autoRoutesImproved = false;
|
2022-06-13 16:30:34 +00:00
|
|
|
|
|
|
|
/**
|
2024-04-26 09:26:22 +00:00
|
|
|
* Use filter execution order in 4.4 or before.
|
2022-06-13 16:30:34 +00:00
|
|
|
*/
|
2024-04-26 09:26:22 +00:00
|
|
|
public bool $oldFilterOrder = false;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The behavior of `limit(0)` in Query Builder.
|
|
|
|
*
|
|
|
|
* 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.)
|
|
|
|
*/
|
|
|
|
public bool $limitZeroAsAll = true;
|
2022-01-04 15:40:27 +00:00
|
|
|
}
|