KWeb  6.4
KWebFilter_Object Class Reference

SQL Indexer - operates directly on the database. More...

Inheritance diagram for KWebFilter_Object:
Filter_Abstract Filter_IFilter

Public Member Functions

 matchFilter ($object, $key=null, $iterator=null, array $options=array())
 Returns true if data has passed the filter.
 with ($what)
 withAccess ($right)
 withViewAccess ($right)
 withFlag ($flag)
 without ()
 withoutViewAccess ($right)
 withoutAccess ($right)
 withoutFlag ($flag)

Static Public Member Functions

static create ()

Data Fields

 $withChecks = array()
 Array of: can* - will call can*() is* - will call is*() access => RIGHT - will call checkAccess(RIGHT) viewAccess => RIGHT - will call canAccessView(RIGHT) flag => FLAG - will call getItemFlags(RIGHT)
 $withoutChecks = array()
 $nonObjects = false
 Should non objects pass the filter?
 $objectCallback = null
 Callback which can replace the object prior to matching.

Protected Member Functions

 check (KWebObject $object, $table, $any)

Detailed Description

SQL Indexer - operates directly on the database.

Builds sql query on the fly


Member Function Documentation

KWebFilter_Object::check ( KWebObject object,
table,
any 
) [protected]
static KWebFilter_Object::create ( ) [static]
KWebFilter_Object::matchFilter ( data,
key = null,
iterator = null,
array $  options = array() 
)

Returns true if data has passed the filter.

Returns:
boolean

Implements Filter_IFilter.

KWebFilter_Object::with ( what)
KWebFilter_Object::withAccess ( right)
KWebFilter_Object::withFlag ( flag)
KWebFilter_Object::without ( )
KWebFilter_Object::withoutAccess ( right)
KWebFilter_Object::withoutFlag ( flag)
KWebFilter_Object::withoutViewAccess ( right)
KWebFilter_Object::withViewAccess ( right)

Field Documentation

KWebFilter_Object::$nonObjects = false

Should non objects pass the filter?

KWebFilter_Object::$objectCallback = null

Callback which can replace the object prior to matching.

callback(object, KWebFilte_Object this, array options). Returns the object

KWebFilter_Object::$withChecks = array()

Array of: can* - will call can*() is* - will call is*() access => RIGHT - will call checkAccess(RIGHT) viewAccess => RIGHT - will call canAccessView(RIGHT) flag => FLAG - will call getItemFlags(RIGHT)

KWebFilter_Object::$withoutChecks = array()

The documentation for this class was generated from the following file: