mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8511 201d5d3c-b55e-5fd7-737f-ddc643e51545
35 lines
No EOL
626 B
PHP
35 lines
No EOL
626 B
PHP
<?php
|
|
|
|
/**
|
|
* @class InsertExpression
|
|
* @author Arnia Software
|
|
* @brief
|
|
*
|
|
*/
|
|
|
|
class InsertExpression extends Expression {
|
|
var $argument;
|
|
|
|
function InsertExpression($column_name, $argument){
|
|
parent::Expression($column_name);
|
|
$this->argument = $argument;
|
|
}
|
|
|
|
function getValue($with_values = true){
|
|
if($with_values)
|
|
return $this->argument->getValue();
|
|
return '?';
|
|
}
|
|
|
|
function show(){
|
|
$value = $this->argument->getValue();
|
|
if(!isset($value)) return false;
|
|
return true;
|
|
}
|
|
|
|
function getArgument(){
|
|
return $this->argument;
|
|
}
|
|
}
|
|
|
|
?>
|