ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:activerecord_index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v5:activerecord:activerecord_index [2016/01/21 16:38]
mnewnham
v5:activerecord:activerecord_index [2016/01/21 16:41] (current)
mnewnham
Line 18: Line 18:
  
  
-''​ADOdb_Active_Record''​ is designed upon the principles of the ''​ActiveRecord''​ design pattern, which was first described by [[wp>​Martin_Fowler|Martin Fowler]]. The ''​ActiveRecord''​ pattern has been implemented in many forms across the spectrum of programming languages. ''​ADOdb_Active_Record''​ attempts to represent the database as closely to native PHP objects as possible.+''​ADODb Active Record''​ is designed upon the principles of the ''​ActiveRecord''​ design pattern, which was first described by [[wp>​Martin_Fowler|Martin Fowler]]. The ''​ActiveRecord''​ pattern has been implemented in many forms across the spectrum of programming languages. ''​ADODb Active Record''​ attempts to represent the database as closely to native PHP objects as possible.
  
-''​ADOdb_Active_Record''​ maps a database table to a PHP class, and each instance of that class represents a table row. Relations between tables can also be defined, allowing the ADOdb_Active_Record ​objects to be nested.+''​ADODb Active Record''​ maps a database table to a PHP class, and each instance of that class represents a table row. Relations between tables can also be defined, allowing the ADODb Active Record ​objects to be nested.
  
 ADOdb Active Record functions support the [[v5:​reference:​connection:​cacheexecute|Record Caching]] functions of ADOdb ADOdb Active Record functions support the [[v5:​reference:​connection:​cacheexecute|Record Caching]] functions of ADOdb
Line 30: Line 30:
 ==== Active Record Methods ==== ==== Active Record Methods ====
 ^ Method ​                               ^ Description ​                                                                               ^ ^ Method ​                               ^ Description ​                                                                               ^
-^ [[v5:​activerecord:​getattributenames]] ​ | Returns the names in an ADOdb_Active_Record ​object ​                                        |+^ [[v5:​activerecord:​getattributenames]] ​ | Returns the names in an ADODb Active Record ​object ​                                        |
 ^ [[v5:​activerecord:​save]] ​              | Updates the object to the database ​                                                        | ^ [[v5:​activerecord:​save]] ​              | Updates the object to the database ​                                                        |
 ^ [[v5:​activerecord:​replace]] ​           | Inserts or Updates an object ​                                                              | ^ [[v5:​activerecord:​replace]] ​           | Inserts or Updates an object ​                                                              |
 ^ [[v5:​activerecord:​load]] ​              | Loads an object from the database ​                                                         | ^ [[v5:​activerecord:​load]] ​              | Loads an object from the database ​                                                         |
 ^ [[v5:​activerecord:​find]] ​              | Finds an object in the database ​                                                           | ^ [[v5:​activerecord:​find]] ​              | Finds an object in the database ​                                                           |
-^ [[v5:​activerecord:​set]] ​               | Converts an an array to an ADOdb_Active_Record ​object ​                                     |+^ [[v5:​activerecord:​set]] ​               | Converts an an array to an ADODb Active Record ​object ​                                     |
 ^ [[v5:​activerecord:​hasmany]] ​           | Deprecated General class replaced by classHasMany,​ tableHasMany and tableKeyHasMany ​       | ^ [[v5:​activerecord:​hasmany]] ​           | Deprecated General class replaced by classHasMany,​ tableHasMany and tableKeyHasMany ​       |
 ^ [[v5:​activerecord:​belongsto]] ​         | Deprecated General class replaced by classBelongsTo,​ tableBelongsTo and tableKeyBelongsTo ​ | ^ [[v5:​activerecord:​belongsto]] ​         | Deprecated General class replaced by classBelongsTo,​ tableBelongsTo and tableKeyBelongsTo ​ |
Line 80: Line 80:
 ==== Extended Active Record Methods ==== ==== Extended Active Record Methods ====
 ^Method^Description^ ^Method^Description^
-^[[v5:​activerecord:​find]]|finds an ADOdb_Active_Record ​object in a database|+^[[v5:​activerecord:​find]]|finds an ADODb Active Record ​object in a database|
v5/activerecord/activerecord_index.txt · Last modified: 2016/01/21 16:41 by mnewnham