2010-07-20 00:32:52 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Volkszaehler\Model\Proxies;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
|
|
|
|
*/
|
|
|
|
class VolkszaehlerModelChannelProxy extends \Volkszaehler\Model\Channel 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-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function addData(\Volkszaehler\Model\Data $data)
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::addData($data);
|
|
|
|
}
|
|
|
|
|
2010-07-31 17:52:34 +02:00
|
|
|
public function getInterpreter(\Doctrine\ORM\EntityManager $em, $from, $to)
|
2010-07-20 00:32:52 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-07-31 17:52:34 +02:00
|
|
|
return parent::getInterpreter($em, $from, $to);
|
2010-07-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getName()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getName();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setName($name)
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::setName($name);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getDescription()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getDescription();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setDescription($description)
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::setDescription($description);
|
|
|
|
}
|
|
|
|
|
2010-07-31 17:52:34 +02:00
|
|
|
public function getResolution()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getResolution();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setResolution($resolution)
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::setResolution($resolution);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getCost()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getCost();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setCost($cost)
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::setCost($cost);
|
|
|
|
}
|
|
|
|
|
2010-08-24 15:33:55 +02:00
|
|
|
public function getProperty($name)
|
2010-07-20 00:32:52 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-08-24 15:33:55 +02:00
|
|
|
return parent::getProperty($name);
|
2010-07-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
|
2010-08-24 15:33:55 +02:00
|
|
|
public function getProperties()
|
2010-07-20 00:32:52 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-08-24 15:33:55 +02:00
|
|
|
return parent::getProperties();
|
2010-07-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
|
2010-08-24 15:33:55 +02:00
|
|
|
public function setProperty($name, $value)
|
2010-07-20 00:32:52 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-08-24 15:33:55 +02:00
|
|
|
return parent::setProperty($name, $value);
|
2010-07-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
|
2010-08-24 15:33:55 +02:00
|
|
|
public function unsetProperty($name)
|
2010-07-20 00:32:52 +02:00
|
|
|
{
|
|
|
|
$this->_load();
|
2010-08-24 15:33:55 +02:00
|
|
|
return parent::unsetProperty($name);
|
2010-07-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getId()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getId();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUuid()
|
|
|
|
{
|
|
|
|
$this->_load();
|
|
|
|
return parent::getUuid();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function __sleep()
|
|
|
|
{
|
2010-07-31 17:52:34 +02:00
|
|
|
return array('__isInitialized__', 'id', 'uuid', 'tokens', 'properties', 'data', 'groups');
|
2010-07-20 00:32:52 +02:00
|
|
|
}
|
|
|
|
}
|