35 lines
668 B
PHP
35 lines
668 B
PHP
<?php
|
|
|
|
/**
|
|
* Subclass for representing a row from the 'st_producer_i18n' table.
|
|
*
|
|
*
|
|
*
|
|
* @package lib.model
|
|
*/
|
|
class CountriesI18n extends BaseCountriesI18n
|
|
{
|
|
public function __sleep()
|
|
{
|
|
return array_keys($this->toArray(BasePeer::TYPE_FIELDNAME));
|
|
}
|
|
|
|
public function __wakeup()
|
|
{
|
|
$this->setNew(false);
|
|
$this->resetModified();
|
|
}
|
|
|
|
public function __serialize()
|
|
{
|
|
return $this->toArray(BasePeer::TYPE_FIELDNAME);
|
|
}
|
|
|
|
public function __unserialize(array $data)
|
|
{
|
|
$this->fromArray($data, BasePeer::TYPE_FIELDNAME);
|
|
$this->setNew(false);
|
|
$this->resetModified();
|
|
}
|
|
}
|