ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:where

$_where

TypeString
DefaultNULL

Description

Setting the value of this class variable sets a default where filter for the load operation.

Usage

In this example we always require a filter of type_code=1 for the operation.

class person extends ADOdb_Active_Record
{
    public $_where = ' type_code=1 ';
}
v5/activerecord/where.txt · Last modified: 2016/01/13 02:15 by mnewnham