Show:

Streams_Rule Class

Extends Base_Streams_Rule
Module: Streams

Class representing 'Rule' rows in the 'Streams' database You can create an object of this class either to access its non-static methods, or to actually represent a rule row in the Streams database.

Item Index

Methods

__set_state

(
  • $array
)
Streams_Rule

Implements the __set_state method, so it can work with with var_export and be re-imported successfully.

Parameters:

  • $array Array

Returns:

Streams_Rule:

Class instance

beforeSave

(
  • $value
)
Array

Assigns ordinal and readyTime

Parameters:

  • $value Array

    The row beind saved

Returns:

Array:

setUp

()

The setUp() method is called the first time an object of this class is constructed.