english/administrator/components/com_plugins/models/plugin.php
/**
	 * Auto-populate the model state.
	 *
	 * Note. Calling getState in this method will result in recursion.
	 *
	 * @return	void
	 * @since	1.6
	 */
Auto-populate the model state.
Note. Calling getState in this method will result in recursion.


Auto - populate the model state . Note . Calling getState in this method will result in recursion .
protected function populateState()
	{
		parent::populateState();
		$app = JFactory::getApplication('administrator');
		$pk = (int) JRequest::getInt('extension_id');
		$this->setState('plugin.id', $pk);
	}
protected function populateState ( ) { parent :: populateState ( ) ; $ app = JFactory :: getApplication ( 'administrator' ) ; $ pk = ( int ) JRequest :: getInt ( 'extension_id' ) ; $ this -> setState ( 'plugin.id' , $ pk ) ; }
Auto-populate the model state.
Auto - populate the model state .
// Execute the parent method. // Load the User state.