english/components/com_contact/controller.php
/**
	 * Method to display a view.
	 *
	 * @param	boolean			If true, the view output will be cached
	 * @param	array			An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}.
	 *
	 * @return	JController		This object to support chaining.
	 * @since	1.5
	 */
Method to display a view.
@param       boolean                 If true, the view output will be cached
@param       array                   An array of safe url parameters and their variable types, for valid values see  JFilterInput::clean().

@return      JController             This object to support chaining.
Method to display a view . @param boolean If true the view output will be cached @param array An array of safe url parameters and their variable types for valid values see JFilterInput :: clean () . @return JController This object to support chaining .
public function display($cachable = false, $urlparams = false)
	{
		$cachable = true;
		$document = JFactory::getDocument();
		$vName		= JRequest::getCmd('view', 'categories');
		JRequest::setVar('view', $vName);
		$user = JFactory::getUser();
		$safeurlparams = array('catid'=>'INT','id'=>'INT','cid'=>'ARRAY','year'=>'INT','month'=>'INT','limit'=>'INT','limitstart'=>'INT',
			'showall'=>'INT','return'=>'BASE64','filter'=>'STRING','filter_order'=>'CMD','filter_order_Dir'=>'CMD','filter-search'=>'STRING','print'=>'BOOLEAN','lang'=>'CMD');
		parent::display($cachable,$safeurlparams);
		return $this;
	}
public function display ( $ cachable = false , $ urlparams = false ) { $ cachable = true ; $ document = JFactory :: getDocument ( ) ; $ vName = JRequest :: getCmd ( 'view' , 'categories' ) ; JRequest :: setVar ( 'view' , $ vName ) ; $ user = JFactory :: getUser ( ) ; $ safeurlparams = array ( 'catid' => 'INT' , 'id' => 'INT' , 'cid' => 'ARRAY' , 'year' => 'INT' , 'month' => 'INT' , 'limit' => 'INT' , 'limitstart' => 'INT' , 'showall' => 'INT' , 'return' => 'BASE64' , 'filter' => 'STRING' , 'filter_order' => 'CMD' , 'filter_order_Dir' => 'CMD' , 'filter-search' => 'STRING' , 'print' => 'BOOLEAN' , 'lang' => 'CMD' ) ; parent :: display ( $ cachable , $ safeurlparams ) ; return $ this ; }
Method to display a view.
Method to display a view .
// Get the document object. // Set the default view name and format from the Request.