本文整理汇总了PHP中Kwc_Abstract::freeMemory方法的典型用法代码示例。如果您正苦于以下问题:PHP Kwc_Abstract::freeMemory方法的具体用法?PHP Kwc_Abstract::freeMemory怎么用?PHP Kwc_Abstract::freeMemory使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Kwc_Abstract
的用法示例。
在下文中一共展示了Kwc_Abstract::freeMemory方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _freeMemory
/**
* @internal
*/
protected function _freeMemory()
{
if (isset($this->parent) && $this->parent) {
$this->_lazyParent = $this->parent->componentId;
unset($this->parent);
}
if (isset($this->chained)) {
$this->_lazyChained = $this->chained->componentId;
unset($this->chained);
}
if (isset($this->_component)) {
$this->_component->freeMemory();
unset($this->_component);
}
//unset($this->generator);
if (isset($this->row)) {
$this->_lazyRow = $this->generator->getLazyRowByRow($this->row, $this);
unset($this->row);
}
if (isset($this->_uniqueParentDatas)) {
unset($this->_uniqueParentDatas);
}
if (isset($this->_inheritClasses)) {
unset($this->_inheritClasses);
}
$this->_childComponentsCache = array();
$this->_recursiveGeneratorsCache = array();
if (isset($this->_languageCache)) {
unset($this->_languageCache);
}
}