english/administrator/components/com_banners/models/download.php
/**
	 * Method to auto-populate the model state.
	 *
	 * Note. Calling getState in this method will result in recursion.
	 *
	 * @since	1.6
	 */
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.


Method to auto - populate the model state . Note . Calling getState in this method will result in recursion .
protected function populateState()
	{
		jimport('joomla.utilities.utility');
		$basename = JRequest::getString(JUtility::getHash($this->_context.'.basename'),'__SITE__','cookie');
		$this->setState('basename',$basename);
		$compressed = JRequest::getInt(JUtility::getHash($this->_context.'.compressed'),1,'cookie');
		$this->setState('compressed',$compressed);
	}
protected function populateState ( ) { jimport ( 'joomla.utilities.utility' ) ; $ basename = JRequest :: getString ( JUtility :: getHash ( $ this -> _context . '.basename' ) , '__SITE__' , 'cookie' ) ; $ this -> setState ( 'basename' , $ basename ) ; $ compressed = JRequest :: getInt ( JUtility :: getHash ( $ this -> _context . '.compressed' ) , 1 , 'cookie' ) ; $ this -> setState ( 'compressed' , $ compressed ) ; }
Method to auto-populate the model state.
Method to auto - populate the model state .