Menu
Index > Helpers

gridtViewLink

gridtViewLink($options = array())

Description:
Returns HTML->link that opens the grid view.

Options:

Example:
//
$gridtViewLink = $this->Deals->gridtViewLink($options = array());
//
echo $gridtViewLink; // produces Grid View

	public function gridtViewLink($options = array()) {
		//
		return	$this->Html->link(
				'Grid View'
				, array(
					'plugin'	=> 'deals'
					, 'controller'	=> 'deals'
					, 'action'	=> 'index'
					, 'dashboard'	=> true
					,
				)
			);
	}