Api‎ > ‎Model‎ > ‎

Model

Class RModel

Vars

static array $definitionDirs=array()

Array of dir => true value pairs of which each dir is scanned to find model definition xml files.

Functions

static void function registerDefinitionDir()

Registers a definition directory. @param string $dir A directory (recommended absolute) in which model definition xml files are stored.

static void function registerPluginDir()

Registers additional plugin dirs. By default the RawDev model plugin dir is available. @param string $dir The additional plugin directory.

static string function getPluginDir()

Returns the plugin dir for an engine. @param string $engine The name of the engine (e.g. mysql).

returnsstringThe directory of the plugin.
Comments