1
0
mirror of synced 2025-01-31 12:32:59 +03:00
doctrine2/lib/Doctrine/ORM/Query/AST/UpdateItem.php
2009-03-19 12:43:48 +00:00

47 lines
910 B
PHP

<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
namespace Doctrine\ORM\Query\AST;
/**
* UpdateItem ::= [IdentificationVariable "."] {StateField | SingleValuedAssociationField} "=" NewValue
*
* @author robo
*/
class UpdateItem extends Node
{
private $_identificationVariable;
private $_field;
private $_newValue;
public function __construct($field, $newValue)
{
$this->_field = $field;
$this->_newValue = $newValue;
}
public function setIdentificationVariable($identVar)
{
$this->_identificationVariable = $identVar;
}
public function getIdentificationVariable()
{
return $this->_identificationVariable;
}
public function getField()
{
return $this->_field;
}
public function getNewValue()
{
return $this->_newValue;
}
}