Class: Doctrine_Query_Check

Source Location: /Doctrine/Query/Check.php

Class Doctrine_Query_Check

Class Overview

Doctrine_Query_Check

Located in /Doctrine/Query/Check.php [line 33]



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

Properties

Methods

[ Top ]
Property Summary
string   $sql  
Doctrine_Table   $table  

[ Top ]
Method Summary
Doctrine_Query_Check   __construct()  
string   getSql()   getSql
Doctrine_Connection   getTable()   getTable returns the table object associated with this object
string   parse()   parse
void   parseClause()   parseClause
void   parseFunction()  
void   parseSingle()  

[ Top ]
Properties
string   $sql [line 43]
API Tags:
Access:  protected


[ Top ]
Doctrine_Table   $table [line 38]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 47]

  Doctrine_Query_Check __construct( Doctrine_Table|string $table  )

Parameters:
Doctrine_Table|string   $table:  Doctrine_Table object

API Tags:
Access:  public


[ Top ]
getSql  [line 155]

  string getSql( )

getSql

returns database specific sql CHECK constraint definition parsed from the given dql CHECK definition


API Tags:
Access:  public


[ Top ]
getTable  [line 62]

  Doctrine_Connection getTable( )

getTable returns the table object associated with this object


API Tags:
Access:  public


[ Top ]
parse  [line 72]

  string parse( string $dql  )

parse

Parameters:
string   $dql:  DQL CHECK constraint definition

API Tags:
Access:  public


[ Top ]
parseClause  [line 84]

  void parseClause( $dql, string $alias, string $field, mixed $value  )

parseClause

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

API Tags:
Access:  public


[ Top ]
parseFunction  [line 131]

  void parseFunction( $dql  )

Parameters:
   $dql: 

API Tags:
Access:  public


[ Top ]
parseSingle  [line 111]

  void parseSingle( $part  )

Parameters:
   $part: 

API Tags:
Access:  public


[ Top ]