Class: Doctrine_Hook_Parser

Source Location: /Doctrine/Hook/Parser.php

Class Doctrine_Hook_Parser

Class Overview

Doctrine_Hook_Parser

Located in /Doctrine/Hook/Parser.php [line 33]



		
				Author(s):
		
		
		API Tags:
Abstract:  

Information Tags:
Version:  $Revision: 1158 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Properties

Methods

[ Top ]
Direct descendents
Child Class Description
Doctrine_Hook_Equal Doctrine_Hook_Equal
Doctrine_Hook_Parser_Complex Doctrine_Hook_Parser_Complex

[ Top ]
Property Summary
mixed   $condition  
mixed   $params  

[ Top ]
Method Summary
void   getCondition()  
array   getParams()   getParams returns the parameters associated with this parser
void   parse()   parse

[ Top ]
Properties
mixed   $condition [line 35]
API Tags:
Access:  protected


[ Top ]
mixed   $params = array() [line 36]
API Tags:
Access:  protected


[ Top ]
Methods
getCondition  [line 38]

  void getCondition( )


API Tags:
Access:  public


[ Top ]
getParams  [line 48]

  array getParams( )

getParams returns the parameters associated with this parser


API Tags:
Access:  public


[ Top ]
parse  [line 64]

  void parse( string $alias, string $field, mixed $value  )

parse

Parses given field and field value to DQL condition and parameters. This method should always return prepared statement conditions (conditions that use placeholders instead of literal values).

Parameters:
string   $alias:  component alias
string   $field:  the field name
mixed   $value:  the value of the field

API Tags:
Abstract:  
Access:  public


Redefined in descendants as:

[ Top ]