PHP Class Contao\DcaLoader

The class loads the DCA files of a certain table and stores a combined version in the cache directory. Usage: $dca = new DcaLoader('tl_user'); $dca->load();
Inheritance: extends Controller
显示文件 Open project: contao/core-bundle Class Usage Examples

Protected Properties

Property Type Description
$strTable string Table name

Public Methods

Method Description
__construct ( string $strTable ) Store the table name
load ( boolean $blnNoCache = false ) Load a set of DCA files

Method Details

__construct() public method

Store the table name
public __construct ( string $strTable )
$strTable string The table name

load() public method

Load a set of DCA files
public load ( boolean $blnNoCache = false )
$blnNoCache boolean If true, the cache will be bypassed

Property Details

$strTable protected_oe property

Table name
protected string $strTable
return string