XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
InsertColumnTag.class.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
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 
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 */
getParser($force=FALSE)
Definition: DB.class.php:1345