XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
classes
xml
xmlquery
tags
column
InsertColumnTag.class.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
11
class
InsertColumnTag
extends
ColumnTag
12
{
13
19
var
$argument
;
20
28
function
__construct
($column)
29
{
30
parent::__construct($column->attrs->name);
31
$dbParser =
DB::getParser
();
32
$this->name = $dbParser->parseColumnName($this->name);
33
$this->argument =
new
QueryArgument
($column);
34
}
35
43
function
getExpressionString
()
44
{
45
return
sprintf(
'new InsertExpression(\'%s\', ${\'%s_argument\'})'
46
, $this->name
47
, $this->argument->argument_name);
48
}
49
55
function
getArgument
()
56
{
57
return
$this->argument
;
58
}
59
60
}
61
/* End of file InsertColumnTag.class.php */
62
/* Location: ./classes/xml/xmlquery/tags/column/InsertColumnTag.class.php */
InsertColumnTag\getExpressionString
getExpressionString()
Definition:
InsertColumnTag.class.php:43
DB\getParser
getParser($force=FALSE)
Definition:
DB.class.php:1345
InsertColumnTag\getArgument
getArgument()
Definition:
InsertColumnTag.class.php:55
InsertColumnTag\__construct
__construct($column)
Definition:
InsertColumnTag.class.php:28
ColumnTag
Definition:
ColumnTag.class.php:14
QueryArgument
Definition:
QueryArgument.class.php:10
InsertColumnTag\$argument
$argument
Definition:
InsertColumnTag.class.php:19
InsertColumnTag
Definition:
InsertColumnTag.class.php:11
Generated on Tue Dec 18 2018 17:04:25 for XpressEngine Core by
1.8.5