XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
InsertColumnTagWithoutArgument.class.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
12 {
13 
20  function __construct($column)
21  {
22  parent::__construct($column->attrs->name);
23  $dbParser = DB::getParser();
24  $this->name = $dbParser->parseColumnName($this->name);
25  }
26 
33  {
34  return sprintf('new Expression(\'%s\')', $this->name);
35  }
36 
42  function getArgument()
43  {
44  return NULL;
45  }
46 
47 }
48 /* End of file InsertColumnTagWithoutArgument.class.php */
49 /* Location: ./classes/xml/xmlquery/tags/column/InsertColumnTagWithoutArgument.class.php */
getParser($force=FALSE)
Definition: DB.class.php:1345