Kajona\System\System\OrmBase

Abstract base class for all other orm related handler classes. Provides common methods and general logic shared by all subclasses.

Synopsis

class OrmBase {
  • // constants
  • const STR_ANNOTATION_TARGETTABLE = "@targetTable";
  • const STR_ANNOTATION_TARGETTABLETXSAFE = "@targetTableTxSafe";
  • const STR_ANNOTATION_TABLECOLUMN = "@tableColumn";
  • const STR_ANNOTATION_TABLECOLUMNDATATYPE = "@tableColumnDatatype";
  • const STR_ANNOTATION_TABLECOLUMNPRIMARYKEY = "@tableColumnPrimaryKey";
  • const STR_ANNOTATION_TABLECOLUMNINDEX = "@tableColumnIndex";
  • const STR_ANNOTATION_BLOCKESCAPING = "@blockEscaping";
  • const STR_ANNOTATION_LISTORDER = "@listOrder";
  • const STR_ANNOTATION_OBJECTLIST = "@objectList";
}

Constants

Name Value
STR_ANNOTATION_TARGETTABLE "@targetTable"
STR_ANNOTATION_TARGETTABLETXSAFE "@targetTableTxSafe"
STR_ANNOTATION_TABLECOLUMN "@tableColumn"
STR_ANNOTATION_TABLECOLUMNDATATYPE "@tableColumnDatatype"
STR_ANNOTATION_TABLECOLUMNPRIMARYKEY "@tableColumnPrimaryKey"
STR_ANNOTATION_TABLECOLUMNINDEX "@tableColumnIndex"
STR_ANNOTATION_BLOCKESCAPING "@blockEscaping"
STR_ANNOTATION_LISTORDER "@listOrder"
STR_ANNOTATION_OBJECTLIST "@objectList"

Members

private

  • $arrTargetTableCache
    @var array an internal cache to avoid redundant lookups of annotations
  • $objHandleLogicalDeletedKajona\System\System\OrmDeletedhandlingEnum
    Flag to change the handling of deleted objects locally, so only for the current instance of the ORM mapper.
  • $objObject
    @var Root

protected

  • $bitLogcialDeleteAvailable
  • $objHandleLogicalDeletedGlobal — int
    Static flag to change the handling of deleted objects globally, so for every following ORM operation

Methods

protected

public