diff options
author | wei <> | 2006-11-26 22:20:31 +0000 |
---|---|---|
committer | wei <> | 2006-11-26 22:20:31 +0000 |
commit | a272ae8fa5341e215c884e6a88facd666dd32a5a (patch) | |
tree | 9a450353e05acd4cfc74362577218d9fbb9966ae /framework | |
parent | c5b45fdbf7f81cdbba3fc7f135a7c157e94598f5 (diff) |
delete old adodb active record.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/DataAccess/TActiveRecord.php | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/framework/DataAccess/TActiveRecord.php b/framework/DataAccess/TActiveRecord.php deleted file mode 100644 index e0a4f596..00000000 --- a/framework/DataAccess/TActiveRecord.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php
-
-Prado::using('System.3rdParty.adodb.ADOdb_Active_Record');
-
-/**
- * Adodb's active record implementation is very basic. Example: A table
- * named "persons"
- * <code>
- * CREATE TABLE persons
- * (
- * id INTEGER PRIMARY KEY,
- * first_name TEXT NOT NULL,
- * last_name TEXT NOT NULL,
- * favorite_color TEXT NOT NULL
- * );
- * </code>
- * Create a class called <tt>Person</tt>, connect insert some data as follows.
- * <code>
- * class Person extends TActiveRecord { }
- *
- * $person = new Person();
- * $person->first_name = 'Andi';
- * $person->last_name = 'Gutmans';
- * $person->favorite_color = 'blue';
- * $person->save(); // this save will perform an INSERT successfully
- *
- * $person = new Person();
- * $person->first_name = 'John';
- * $person->last_name = 'Lim';
- * $person->favorite_color = 'lavender';
- * $person->save(); // this save will perform an INSERT successfully
- *
- * // load record where id=2 into a new ADOdb_Active_Record
- * $person2 = new Person();
- * $person2->Load('id=2');
- * var_dump($person2);
- * </code>
- *
- *
- *
- * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id$
- * @package System.DataAccess
- * @since 3.0
- */
-class TActiveRecord extends ADOdb_Active_Record
-{
-
-}
-
-?>
\ No newline at end of file |