Class: Doctrine_Validator_ErrorStack

Source Location: /Doctrine/Validator/ErrorStack.php

Class Doctrine_Validator_ErrorStack

Class Overview

Implements interfaces:

  • Countable (internal interface)
  • IteratorAggregate (internal interface)

Doctrine_Validator_ErrorStack

Located in /Doctrine/Validator/ErrorStack.php [line 33]

Doctrine_Object
   |
   --Doctrine_Access
      |
      --Doctrine_Validator_ErrorStack
Author(s): Information Tags:
Version:  $Revision: 1080 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Doctrine_Object

Doctrine_Object::$_null

Inherited From Doctrine_Access

Doctrine_Access::offsetExists()
Doctrine_Access::offsetGet()
offsetGet an alias of get()
Doctrine_Access::offsetSet()
sets $offset to $value
Doctrine_Access::offsetUnset()
unset a given offset
Doctrine_Access::setArray()
setArray
Doctrine_Access::__get()
__get -- an alias of get()
Doctrine_Access::__isset()
__isset()
Doctrine_Access::__set()
__set an alias of set()
Doctrine_Access::__unset()
__unset()

Inherited From Doctrine_Object

Doctrine_Object::getNullObject()
getNullObject returns the null object associated with this object
Doctrine_Object::initNullObject()
initNullObject initializes the null object

[ Top ]
Property Summary
array   $errors   The errors of the error stack.

[ Top ]
Method Summary
Doctrine_Validator_ErrorStack   __construct()   Constructor
void   add()   Adds an error to the stack.
void   clear()   Removes all errors from the stack.
unknown   contains()   Enter description here...
unknown   count()   Enter description here...
unknown   get()   Enter description here...
unknown   getIterator()   Enter description here...
void   remove()   Removes all existing errors for the specified field from the stack.
void   set()   Enter description here...

[ Top ]
Properties
array   $errors = array() [line 41]

The errors of the error stack.

API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 47]

  Doctrine_Validator_ErrorStack __construct( )

Constructor


API Tags:
Access:  public


[ Top ]
add  [line 56]

  void add( string $invalidFieldName, [ $errorCode = 'general'], string $errorType  )

Adds an error to the stack.

Parameters:
string   $invalidFieldName: 
string   $errorType: 
   $errorCode: 

API Tags:
Access:  public


[ Top ]
clear  [line 107]

  void clear( )

Removes all errors from the stack.


API Tags:
Access:  public


[ Top ]
contains  [line 99]

  unknown contains( $fieldName  )

Enter description here...

Parameters:
   $fieldName: 

API Tags:
Access:  public


[ Top ]
count  [line 131]

  unknown count( )

Enter description here...


API Tags:
Access:  public


Implementation of:
Countable::count

[ Top ]
get  [line 79]

  unknown get( $fieldName, unknown_type $name  )

Enter description here...

Parameters:
unknown_type   $name: 
   $fieldName: 

API Tags:
Access:  public


[ Top ]
getIterator  [line 119]

  unknown getIterator( )

Enter description here...


API Tags:
Access:  public


Implementation of:
IteratorAggregate::getIterator

[ Top ]
remove  [line 66]

  void remove( string $fieldName  )

Removes all existing errors for the specified field from the stack.

Parameters:
string   $fieldName: 

API Tags:
Access:  public


[ Top ]
set  [line 89]

  void set( $fieldName, $errorCode, unknown_type $name  )

Enter description here...

Parameters:
unknown_type   $name: 
   $fieldName: 
   $errorCode: 

API Tags:
Access:  public


[ Top ]