vzlogger/backend/lib/Model/Proxy/VolkszaehlerModelChannelProxy.php

101 lines
2.4 KiB
PHP
Raw Normal View History

<?php
namespace Volkszaehler\Model\Proxy;
/**
* 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);
}
}
public function addData(\Volkszaehler\Model\Data $data)
{
$this->_load();
return parent::addData($data);
}
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
}
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();
}
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);
}
public function __sleep()
{
2010-09-23 00:45:14 +02:00
return array('__isInitialized__', 'id', 'uuid', 'type', 'tokens', 'properties', 'parents', 'data', 'aggregators');
}
}