Source for file active_record.php
Documentation is available at active_record.php
* File for mock ActiveRecord class
* This file has the same name as the file holding the
* {@link ActiveRecord} class. To use the mock ActiveRecord, put
* this file in the PHP include path ahead of the Trax library, so
* that any class which requires active_record.php will load this
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @copyright (c) Walter O. Haas 2006
* @version $Id: active_record.php 199 2006-05-05 01:52:43Z haas $
* @author Walt Haas <haas@xmission.com>
* Mock ActiveRecord class for testing
* Set expected query and return
* This is a test routine that does not exist in the real
* @param string $expected Expected query
* @param string $result Result to be returned when expected
* Get contents of one column of record selected by id and table
* When called, {@link $id} identifies one record in the table
* identified by {@link $table}. Fetch from the database the
* contents of column $column of this record.
* @param string Name of column to retrieve
* @return string Column contents
PHPUnit2_Framework_Assert::fail('ActiveRecord::send() called with'
// -- set Emacs parameters --
// c-hanging-comment-ender-p: nil
|