extract data from a dao xml content
| package |
jelix |
|---|---|
| subpackage |
dao |
| see |
__construct(\jSelectorDao $selector)
_parseTable(integer $typetable, \simpleXmlElement $tabletag)
integer
\simpleXmlElement
getAttr(\SimpleXmlElement $tag, array $requiredattr) : array
\SimpleXmlElement
arrayattributes list
arrayattributes and their values
getBool( $value) : boolean
will accept yes, true, 1 as "true" values all other values will be considered as false.
booleantrue / false
getEvents()
getImportedDao() : array<mixed,\jSelectorDao>
getInnerJoins() : array
arraythe list
getMethods() : array<mixed,\jDaoMethod>
getOuterJoins() : array
arraylist of array(table code name, 0)
getPrimaryTable() : string
stringthe primary table code name
getProperties() : array
keys = field code name values = jDaoProperty
array
getTables() : array
array
getUserRecord() : \jSelectorDaoRecord
hasEvent( $event)
import( $xml, $tools)
parse(\SimpleXmlElement $xml, \jDbTools $tools)
parseDatasource( $xml)
parseFactory( $xml)
parseRecord(\simpleXmlElement $xml, \jDbTools $tools)
_properties :
keys = field code name values = jDaoProperty
_tables :
_primaryTable :
_ojoins : array
| var |
list of array(table code name, 0) |
|---|
array
_ijoins : array
| var |
list of table code name |
|---|
array
_methods : array
| var |
list of jDaoMethod objects |
|---|
array
_eventList :
hasOnlyPrimaryKeys :
_importedDao : array<mixed,\jSelectorDao>
selector :