Documentation

DateDiffFunction extends FunctionNode
in package

"DATE_DIFF" "(" ArithmeticPrimary "," ArithmeticPrimary ")"

Tags
link
www.doctrine-project.org

Table of Contents

Properties

$date1  : Node
$date2  : Node
$name  : string

Methods

__construct()  : mixed
__toString()  : string
Dumps the AST Node into a string representation for information purpose only.
dispatch()  : string
Double-dispatch method, supposed to dispatch back to the walker.
dump()  : string
getSql()  : string
parse()  : void

Properties

Methods

__construct()

public __construct(string $name) : mixed
Parameters
$name : string

__toString()

Dumps the AST Node into a string representation for information purpose only.

public __toString() : string
Return values
string

dispatch()

Double-dispatch method, supposed to dispatch back to the walker.

public dispatch(SqlWalker $walker) : string

Implementation is not mandatory for all nodes.

Parameters
$walker : SqlWalker
Tags
throws
ASTException
Return values
string

dump()

public dump(mixed $value) : string
Parameters
$value : mixed
Return values
string

parse()

public parse(Parser $parser) : void
Parameters
$parser : Parser
Tags
inheritDoc

        
On this page

Search results