Class BeConfigure
BeConfigure class handle BEdita configuration
Located at libs/be_configure.php
Methods summary
public
|
#
initConfig( )
initialize BEdita static configuration setting cache and add plugged model and component path |
public
array
|
|
public
|
#
addModulesPaths( array $cachedConfig )
add models and components module plugin paths to BEdita core paths |
public
array
|
|
public
boolean
|
#
tableExists( mixed $tableName, string $datasource = "default" )
check if table/s exist in certain database connection |
public
|
#
loadPluginLocalConfig( string $pluginName, $configName = 'config_local' )
load local configuration of module plugged file has to be named config_local.php and has to be in config folder of plugin |
public
array
|
#
mergeAllRelations( boolean $forceReading = false )
Returns array with all relations, merging defaultObjRelationType, objRelationType, plugged.objRelationType Set also self::relations and use it when it's not empty and no forced reading is request |
public
integer
|
#
getObjectTypeId( string $modelName )
Tries to read ObjectType ID for given model from config, or from database as a fallback. |
Properties summary
private
array
|
$relations
An array with all active relations |
#
array()
|