PHP 클래스 SqlParser\Components\FunctionCall

저자: Dan Ungureanu ([email protected])
상속: extends SqlParser\Component
파일 보기 프로젝트 열기: phpmyadmin/sql-parser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$name string The name of this function.
$parameters ArrayObj The list of parameters

공개 메소드들

메소드 설명
__construct ( string $name = null, array | ArrayObj $parameters = null ) Constructor.
build ( FunctionCall $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : FunctionCall

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $name = null, array | ArrayObj $parameters = null )
$name string The name of the function to be called.
$parameters array | ArrayObj The parameters of this function.

build() 공개 정적인 메소드

public static build ( FunctionCall $component, array $options = [] ) : string
$component FunctionCall The component to be built.
$options array Parameters for building.
리턴 string

parse() 공개 정적인 메소드

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : FunctionCall
$parser SqlParser\Parser The parser that serves as context.
$list SqlParser\TokensList The list of tokens that are being parsed.
$options array Parameters for parsing.
리턴 FunctionCall

프로퍼티 상세

$name 공개적으로 프로퍼티

The name of this function.
public string $name
리턴 string

$parameters 공개적으로 프로퍼티

The list of parameters
public ArrayObj,SqlParser\Components $parameters
리턴 ArrayObj