Home » Snippets » Browse Snippet

Browse Snippet

Get parameters from "Component" menu item
License
GNU General Public License (GPL)
Programming Language
PHP
Topic
Documentation
 

Description:

$menu = $mainframe->get( 'menu' );
$params = new mosParameters( $menu->params );
$var = $params->get( 'examplevar', "default value if it doesn't exist" );

Files in this snippet:

No files for this snippet
Submitted by Chris Burke on 2007-04-30 07:35:29

©2005-2017 Open Source Matters, Inc. All rights reserved. Joomla Hosting by Rochen Ltd.    Accessibility Statement    Privacy Policy    Gforge