Skip to content

Instantly share code, notes, and snippets.

@nnarhinen
Created September 28, 2010 17:57
Show Gist options
  • Save nnarhinen/601443 to your computer and use it in GitHub Desktop.
Save nnarhinen/601443 to your computer and use it in GitHub Desktop.
/**
* The base view from which all Customer module views inherit.
*/
class MyProjectCustomerBaseView extends TallimestariBaseView
{
public function setupHtml(AgaviRequestDataHolder $rd, $layoutName = null)
{
parent::setupHtml($rd, $layoutName);
$this->getLayer('content')->setSlot('mainmenu', $this->createSlotContainer(
'Customer',
'Widgets.MainMenu'
));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment