Class Finder
Inheritance: TComponent »
Properties
 NameTypeDescription
R Builder TDbCommandBuilder .
R DbConnection TDbConnection .
R LastInsertID mixed Iterate through all the columns and returns the last insert id of the first column that has a sequence or serial.
R TableInfo TDbTableInfo .
Events
NameDescription
OnCreateCommand Raised when a command is prepared and parameter binding is completed.
OnExecuteCommand Raised when a command is executed and the result from the database was returned.
Methods
 NameDescription
  addParsedObject Processes an object that is created during parsing template. (inherited from TComponent)
  attachEventHandler Attaches an event handler to an event. (inherited from TComponent)
  canGetProperty Determines whether a property can be read. (inherited from TComponent)
  canSetProperty Determines whether a property can be set. (inherited from TComponent)
  count number of records.
  createCriteriaFromString criteria created from the method name and its arguments.
  createdOnTemplate This method is invoked after the component is instantiated by a template. (inherited from TComponent)
  delete Executes a delete command.
  deleteByPk number of rows affected.
  detachEventHandler Detaches an existing event handler. (inherited from TComponent)
  evaluateExpression Evaluates a PHP expression in the context of this control. (inherited from TComponent)
  evaluateStatements Evaluates a list of PHP statements. (inherited from TComponent)
P extractMatchingConditions Calculates the AND/OR condition from dynamic method substrings using table meta data, allows for any AND-OR combinations.
  find Find one record matching the critera.
  findAll Find one or more matching records.
  findAllByIndex .
  findAllByPk record reader.
  findAllBySql Find zero or more matching records for arbituary SQL.
  findByPk matching record.
  findBySql Find one matching records for arbituary SQL.
P getCompositeKeyCondition Construct a "pk IN ('key1', 'key2', .
  getEventHandlers Returns the list of attached event handlers for an event. (inherited from TComponent)
P getFindCommand Build the find command from the criteria.
  getIndexKeyCondition .
P getPrimaryKeyCondition Create the condition and parameters for find by primary.
P getSqlCommand Build sql command from the criteria.
  getSubProperty Evaluates a property path. (inherited from TComponent)
  hasEvent Determines whether an event is defined. (inherited from TComponent)
  hasEventHandler whether an event has been attached one or several handlers. (inherited from TComponent)
  hasProperty Determines whether a property is defined. (inherited from TComponent)
  insert Inserts a new record into the table.
P quoteTuple quoted recursive tuple values, e.
  raiseEvent Raises an event. (inherited from TComponent)
  setSubProperty Sets a value to a property path. (inherited from TComponent)
  update Updates the table with new data.
  updateByPk number of records affected.
Derived classes