Prado\Web\UI\WebControls\TListItem::_getZappableSleepProps PHP Method

_getZappableSleepProps() protected method

Reimplement in derived classes to add new variables, but remember to also to call the parent implementation first.
protected _getZappableSleepProps ( &$exprops )
    protected function _getZappableSleepProps(&$exprops)
    {
        parent::_getZappableSleepProps($exprops);
        if ($this->_attributes === null) {
            $exprops[] = "TListItem_attributes";
        }
        if ($this->_text === '') {
            $exprops[] = "TListItem_text";
        }
        if ($this->_value === '') {
            $exprops[] = "TListItem_value";
        }
        if ($this->_enabled === true) {
            $exprops[] = "TListItem_enabled";
        }
        if ($this->_selected === false) {
            $exprops[] = "TListItem_selected";
        }
    }