updated doctrine proxies

This commit is contained in:
Steffen Vogel 2010-07-23 17:03:12 +02:00
parent 1acc3597b2
commit 13456028a1
4 changed files with 0 additions and 378 deletions

View file

@ -1,93 +0,0 @@
<?php
namespace Volkszaehler\Model\Proxies;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class VolkszaehlerModelChannelChannelProxy extends \Volkszaehler\Model\Channel\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();
}
unset($this->_entityPersister);
unset($this->_identifier);
}
}
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);
}
public function getUnit()
{
$this->_load();
return parent::getUnit();
}
public function addData(\Volkszaehler\Model\Data $data)
{
$this->_load();
return parent::addData($data);
}
public function getInterpreter(\Doctrine\ORM\EntityManager $em)
{
$this->_load();
return parent::getInterpreter($em);
}
public function getId()
{
$this->_load();
return parent::getId();
}
public function getUuid()
{
$this->_load();
return parent::getUuid();
}
public function __sleep()
{
if (!$this->__isInitialized__) {
throw new \RuntimeException("Not fully loaded proxy can not be serialized.");
}
return array('name', 'description', 'indicator', 'data', 'id', 'uuid');
}
}

View file

@ -1,117 +0,0 @@
<?php
namespace Volkszaehler\Model\Proxies;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class VolkszaehlerModelChannelMeterProxy extends \Volkszaehler\Model\Channel\Meter 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();
}
unset($this->_entityPersister);
unset($this->_identifier);
}
}
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);
}
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);
}
public function getUnit()
{
$this->_load();
return parent::getUnit();
}
public function addData(\Volkszaehler\Model\Data $data)
{
$this->_load();
return parent::addData($data);
}
public function getInterpreter(\Doctrine\ORM\EntityManager $em)
{
$this->_load();
return parent::getInterpreter($em);
}
public function getId()
{
$this->_load();
return parent::getId();
}
public function getUuid()
{
$this->_load();
return parent::getUuid();
}
public function __sleep()
{
if (!$this->__isInitialized__) {
throw new \RuntimeException("Not fully loaded proxy can not be serialized.");
}
return array('name', 'description', 'indicator', 'data', 'id', 'uuid', 'resolution', 'cost');
}
}

View file

@ -1,93 +0,0 @@
<?php
namespace Volkszaehler\Model\Proxies;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class VolkszaehlerModelChannelSensorProxy extends \Volkszaehler\Model\Channel\Sensor 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();
}
unset($this->_entityPersister);
unset($this->_identifier);
}
}
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);
}
public function getUnit()
{
$this->_load();
return parent::getUnit();
}
public function addData(\Volkszaehler\Model\Data $data)
{
$this->_load();
return parent::addData($data);
}
public function getInterpreter(\Doctrine\ORM\EntityManager $em)
{
$this->_load();
return parent::getInterpreter($em);
}
public function getId()
{
$this->_load();
return parent::getId();
}
public function getUuid()
{
$this->_load();
return parent::getUuid();
}
public function __sleep()
{
if (!$this->__isInitialized__) {
throw new \RuntimeException("Not fully loaded proxy can not be serialized.");
}
return array('name', 'description', 'indicator', 'data', 'id', 'uuid');
}
}

View file

@ -1,75 +0,0 @@
<?php
namespace Volkszaehler\Model\Proxies;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class VolkszaehlerModelUserProxy extends \Volkszaehler\Model\User 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();
}
unset($this->_entityPersister);
unset($this->_identifier);
}
}
public function getEmail()
{
$this->_load();
return parent::getEmail();
}
public function setEmail($email)
{
$this->_load();
return parent::setEmail($email);
}
public function setPassword($password)
{
$this->_load();
return parent::setPassword($password);
}
public function checkPassword($password)
{
$this->_load();
return parent::checkPassword($password);
}
public function getId()
{
$this->_load();
return parent::getId();
}
public function getUuid()
{
$this->_load();
return parent::getUuid();
}
public function __sleep()
{
if (!$this->__isInitialized__) {
throw new \RuntimeException("Not fully loaded proxy can not be serialized.");
}
return array('email', 'password', 'groups', 'id', 'uuid');
}
}