english/administrator/components/com_messages/models/config.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()
	{
		$app	= JFactory::getApplication('administrator');
		$user	= JFactory::getUser();
		$this->setState('user.id', $user->get('id'));
		$params	= JComponentHelper::getParams('com_messages');
		$this->setState('params', $params);
	}
protected function populateState ( ) { $ app = JFactory :: getApplication ( 'administrator' ) ; $ user = JFactory :: getUser ( ) ; $ this -> setState ( 'user.id' , $ user -> get ( 'id' ) ) ; $ params = JComponentHelper :: getParams ( 'com_messages' ) ; $ this -> setState ( 'params' , $ params ) ; }
Method to auto-populate the model state.
Method to auto - populate the model state .
// Load the parameters.