jSelectorDao
extends jSelectorModule
in package
Selector for dao file syntax : "module~daoName".
file : daos/daoName.dao.xml.
Tags
Table of Contents
- $dbType : mixed
- name of the database type used by the connection.
- $driver : string
- the name of the jDb driver used for the connection.
- $module : mixed
- $profile : mixed
- $resource : mixed
- $_cachePath : mixed
- $_cacheSuffix : mixed
- $_compiler : mixed
- $_compilerPath : mixed
- $_dirname : mixed
- $_path : mixed
- $_suffix : mixed
- $_useMultiSourceCompiler : mixed
- $_where : mixed
- $type : mixed
- __construct() : mixed
- getCompiledFilePath() : string
- getCompiler() : null|object
- getDaoClass() : mixed
- getDaoRecordClass() : mixed
- getPath() : string
- toString() : string
- useMultiSourceCompiler() : bool
- _createCachePath() : mixed
- _createPath() : mixed
- findPath() : mixed
Properties
$dbType
name of the database type used by the connection.
public
mixed
$dbType
$driver
the name of the jDb driver used for the connection.
public
string
$driver
$module
public
mixed
$module
$profile
public
mixed
$profile
$resource
public
mixed
$resource
$_cachePath
protected
mixed
$_cachePath
$_cacheSuffix
protected
mixed
$_cacheSuffix
= '.php'
$_compiler
protected
mixed
$_compiler
$_compilerPath
protected
mixed
$_compilerPath
$_dirname
protected
mixed
$_dirname
= 'daos/'
$_path
protected
mixed
$_path
$_suffix
protected
mixed
$_suffix
= '.dao.xml'
$_useMultiSourceCompiler
protected
mixed
$_useMultiSourceCompiler
= alse
$_where
protected
mixed
$_where
$type
protected
mixed
$type
= 'dao'
Methods
__construct()
public
__construct(mixed $sel, mixed $profile) : mixed
Parameters
- $sel : mixed
- $profile : mixed
Return values
mixed —getCompiledFilePath()
public
getCompiledFilePath() : string
Return values
string —file path of the compiled file (if the main file should be compiled by jelix)
getCompiler()
public
getCompiler() : null|object
Return values
null|object —the compiler used to compile file
getDaoClass()
public
getDaoClass() : mixed
Return values
mixed —getDaoRecordClass()
public
getDaoRecordClass() : mixed
Return values
mixed —getPath()
public
getPath() : string
Return values
string —file path corresponding to the resource pointing by the selector
toString()
public
toString([mixed $full = false ]) : string
Parameters
- $full : mixed = false
-
true if you want a full selector ("type:...")
Return values
string —the selector
useMultiSourceCompiler()
public
useMultiSourceCompiler() : bool
Return values
bool —true if the compiler compile many file at one time
_createCachePath()
protected
_createCachePath() : mixed
Return values
mixed —_createPath()
protected
_createPath() : mixed
Return values
mixed —findPath()
protected
findPath() : mixed