Class Xyster_Data_Clause

Description

Implements interfaces:

Abstract clause of symbols

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • abstract:
  • license: New BSD License

Located in /Data/Clause.php (line 32)


	
			
Direct descendents
Class Description
Xyster_Data_Sort_Clause A sort clause
Xyster_Data_Field_Clause A field clause
Variable Summary
array $_items
Method Summary
Xyster_Data_Clause __construct ( $type, [Xyster_Data_Symbol $symbol = null])
int count ()
Iterator getIterator ()
boolean remove (Xyster_Data_Symbol $symbol)
array toArray ()
string __toString ()
Variables
array $_items = array() (line 37)
  • access: protected
Methods
Constructor __construct (line 53)

Creates a new data clause

Extending classes MUST pass the type to this constructor for the class to work as expected.

  • access: public
Xyster_Data_Clause __construct ( $type, [Xyster_Data_Symbol $symbol = null])

Redefined in descendants as:
add (line 73)

Adds an item to this clause

  • return: provides a fluent interface
  • access: public
count (line 88)

Gets the number of entries in the clause

  • access: public
int count ()
getIterator (line 98)

Gets the iterator for this clause

  • access: public
Iterator getIterator ()
merge (line 116)

Adds the items from one clause to the end of this one

  • return: provides a fluent interface
  • access: public
remove (line 132)

Removes an entry in the clause

  • return: Whether the clause was changed
  • access: public
boolean remove (Xyster_Data_Symbol $symbol)
toArray (line 148)

Converts the clause into an array of its symbols

  • access: public
array toArray ()

Implementation of:
Xyster_Data_Clause_Interface::toArray()
Converts the clause into an array of its symbols
__toString (line 159)

Gets the string representation of this object

  • magic:
  • access: public
string __toString ()

Implementation of:
Xyster_Data_Symbol::__toString()
Gets the string representation of this object

Documentation generated on Mon, 19 May 2008 17:07:02 -0400 by phpDocumentor 1.4.2