english/administrator/components/com_config/views/application/view.html.php
/**
	 * Method to display the view.
	 */
Method to display the view.
Method to display the view .
public function display($tpl = null)
	{
		$form	= $this->get('Form');
		$data	= $this->get('Data');
		if ($errors = $this->get('Errors')) {
			JError::raiseError(500, implode('<br />', $errors));
			return false;
		}
		if ($form && $data) {
			$form->bind($data);
		}
		$usersParams = JComponentHelper::getParams('com_users');
		$mediaParams = JComponentHelper::getParams('com_media');
		jimport('joomla.client.helper');
		$ftp = JClientHelper::setCredentialsFromRequest('ftp');
		$this->assignRef('form',	$form);
		$this->assignRef('data',	$data);
		$this->assignRef('ftp',		$ftp);
		$this->assignRef('usersParams', $usersParams);
		$this->assignRef('mediaParams', $mediaParams);
		$this->addToolbar();
		parent::display($tpl);
	}
public function display ( $ tpl = null ) { $ form = $ this -> get ( 'Form' ) ; $ data = $ this -> get ( 'Data' ) ; if ( $ errors = $ this -> get ( 'Errors' ) ) { JError :: raiseError ( 500 , implode ( '<br />' , $ errors ) ) ; return false ; } if ( $ form && $ data ) { $ form -> bind ( $ data ) ; } $ usersParams = JComponentHelper :: getParams ( 'com_users' ) ; $ mediaParams = JComponentHelper :: getParams ( 'com_media' ) ; jimport ( 'joomla.client.helper' ) ; $ ftp = JClientHelper :: setCredentialsFromRequest ( 'ftp' ) ; $ this -> assignRef ( 'form' , $ form ) ; $ this -> assignRef ( 'data' , $ data ) ; $ this -> assignRef ( 'ftp' , $ ftp ) ; $ this -> assignRef ( 'usersParams' , $ usersParams ) ; $ this -> assignRef ( 'mediaParams' , $ mediaParams ) ; $ this -> addToolbar ( ) ; parent :: display ( $ tpl ) ; }
Method to display the view.
Method to display the view .
// Check for model errors. // Bind the form to the data. // Get the params for com_users. // Get the params for com_media. // Load settings for the FTP layer.