application/modules/mod_link/models/Base/PageLink.php 1 location
|
@@ 1570-1583 (lines=14) @@
|
| 1567 |
|
* outgoing references as well as back-references (from other objects to this one. Results probably in a database |
| 1568 |
|
* change of those foreign objects when you call `save` there). |
| 1569 |
|
*/ |
| 1570 |
|
public function clear() |
| 1571 |
|
{ |
| 1572 |
|
$this->id = null; |
| 1573 |
|
$this->page_id = null; |
| 1574 |
|
$this->active_from = null; |
| 1575 |
|
$this->active_to = null; |
| 1576 |
|
$this->show_on = null; |
| 1577 |
|
$this->permanent = null; |
| 1578 |
|
$this->alreadyInSave = false; |
| 1579 |
|
$this->clearAllReferences(); |
| 1580 |
|
$this->resetModified(); |
| 1581 |
|
$this->setNew(true); |
| 1582 |
|
$this->setDeleted(false); |
| 1583 |
|
} |
| 1584 |
|
|
| 1585 |
|
/** |
| 1586 |
|
* Resets all references and back-references to other model objects or collections of model objects. |
application/modules/xbanners/models/Base/Banners.php 1 location
|
@@ 1835-1848 (lines=14) @@
|
| 1832 |
|
* outgoing references as well as back-references (from other objects to this one. Results probably in a database |
| 1833 |
|
* change of those foreign objects when you call `save` there). |
| 1834 |
|
*/ |
| 1835 |
|
public function clear() |
| 1836 |
|
{ |
| 1837 |
|
$this->id = null; |
| 1838 |
|
$this->place = null; |
| 1839 |
|
$this->width = null; |
| 1840 |
|
$this->height = null; |
| 1841 |
|
$this->effects = null; |
| 1842 |
|
$this->page_type = null; |
| 1843 |
|
$this->alreadyInSave = false; |
| 1844 |
|
$this->clearAllReferences(); |
| 1845 |
|
$this->resetModified(); |
| 1846 |
|
$this->setNew(true); |
| 1847 |
|
$this->setDeleted(false); |
| 1848 |
|
} |
| 1849 |
|
|
| 1850 |
|
/** |
| 1851 |
|
* Resets all references and back-references to other model objects or collections of model objects. |