This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Bridge/Propel1/Fixtures/Item.php

101 lines
1.6 KiB
PHP

<?php
/*
* this file is part of the symfony package.
*
* (c) fabien potencier <fabien@symfony.com>
*
* for the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
namespace Symfony\Tests\Bridge\Propel1\Fixtures;
use \PropelPDO;
class Item implements \Persistent
{
private $id;
private $value;
private $groupName;
public function __construct($id = null, $value = null, $groupName = null)
{
$this->id = $id;
$this->value = $value;
$this->groupName = $groupName;
}
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
}
public function getValue()
{
return $this->value;
}
public function getGroupName()
{
return $this->groupName;
}
public function getPrimaryKey()
{
return $this->getId();
}
public function setPrimaryKey($primaryKey)
{
$this->setId($primaryKey);
}
public function isModified()
{
return false;
}
public function isColumnModified($col)
{
return false;
}
public function isNew()
{
return false;
}
public function setNew($b)
{
}
public function resetModified()
{
}
public function isDeleted()
{
return false;
}
public function setDeleted($b)
{
}
public function delete(PropelPDO $con = null)
{
}
public function save(PropelPDO $con = null)
{
}
}