2010-07-18 17:12:00 +02:00
|
|
|
<?php
|
|
|
|
|
2010-08-28 03:27:14 +02:00
|
|
|
namespace Volkszaehler\Model\Proxy;
|
2010-07-18 17:12:00 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
|
|
|
|
*/
|
|
|
|
class VolkszaehlerModelEntityProxy extends \Volkszaehler\Model\Entity implements \Doctrine\ORM\Proxy\Proxy
|
|
|
|
{
|
|
|
|
private $_entityPersister;
|
|
|
|
private $_identifier;
|
|
|
|
public $__isInitialized__ = false;
|
|
|
|
public function __construct($entityPersister, $identifier)
|
|
|
|
{
|
|
|
|
$this->_entityPersister = $entityPersister;
|
|
|
|
$this->_identifier = $identifier;
|
|
|
|
}
|
|
|
|
private function _load()
|
|
|
|
{
|
|
|
|
if (!$this->__isInitialized__ && $this->_entityPersister) {
|
|
|
|
$this->__isInitialized__ = true;
|
|
|
|
if ($this->_entityPersister->load($this->_identifier, $this) === null) {
|
|
|
|
throw new \Doctrine\ORM\EntityNotFoundException();
|
|
|
|
}
|
2010-07-31 17:52:34 +02:00
|
|
|
unset($this->_entityPersister, $this->_identifier);
|
2010-07-18 17:12:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-23 00:45:14 +02:00
|
|
|
public function checkProperties()
|
2010-09-19 20:39:48 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-09-23 00:45:14 +02:00
|
|
|
return parent::checkProperties();
|
2010-09-19 20:39:48 +02:00
|
|
|
}
|
|
|
|
|
2010-09-23 00:45:14 +02:00
|
|
|
public function getProperty($key)
|
2010-07-31 17:52:34 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-09-23 00:45:14 +02:00
|
|
|
return parent::getProperty($key);
|
2010-07-31 17:52:34 +02:00
|
|
|
}
|
|
|
|
|
2010-09-04 01:26:31 +02:00
|
|
|
public function getProperties($prefix = NULL)
|
2010-07-31 17:52:34 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-09-04 01:26:31 +02:00
|
|
|
return parent::getProperties($prefix);
|
2010-07-31 17:52:34 +02:00
|
|
|
}
|
|
|
|
|
2010-09-19 20:39:48 +02:00
|
|
|
public function setProperty($key, $value)
|
2010-07-31 17:52:34 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-09-19 20:39:48 +02:00
|
|
|
return parent::setProperty($key, $value);
|
2010-07-31 17:52:34 +02:00
|
|
|
}
|
|
|
|
|
2010-09-23 00:45:14 +02:00
|
|
|
public function unsetProperty($key, \Doctrine\ORM\EntityManager $em)
|
2010-07-31 17:52:34 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-09-23 00:45:14 +02:00
|
|
|
return parent::unsetProperty($key, $em);
|
2010-07-31 17:52:34 +02:00
|
|
|
}
|
|
|
|
|
2010-07-18 17:12:00 +02:00
|
|
|
public function getId()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getId();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUuid()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getUuid();
|
|
|
|
}
|
|
|
|
|
2010-09-04 01:26:31 +02:00
|
|
|
public function getType()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getType();
|
|
|
|
}
|
|
|
|
|
2010-08-28 03:27:14 +02:00
|
|
|
public function getDefinition()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getDefinition();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getInterpreter(\Doctrine\ORM\EntityManager $em, $from, $to)
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getInterpreter($em, $from, $to);
|
|
|
|
}
|
|
|
|
|
2010-07-18 17:12:00 +02:00
|
|
|
|
|
|
|
public function __sleep()
|
|
|
|
{
|
2010-09-23 00:45:14 +02:00
|
|
|
return array('__isInitialized__', 'id', 'uuid', 'type', 'tokens', 'properties', 'parents');
|
2010-07-18 17:12:00 +02:00
|
|
|
}
|
|
|
|
}
|