Tagged:
Pubblished: December 21st, 2009
Categorized:
blog
Sample menu structure
<?php
require_once("oh.framework/oh.framework.php");
oh("menu")->define("mainmenu",array(
"Home my box http://ciccio.it/home.php" => array(
"Ciao ciao " => array(
"asd1 a",
"asd2 v"
)
),
"10" => array(
"ciao 1",
"ciaw 2"
),
"10 oppa" => "ciao ciao.it",
));
oh("menu")->define("gmenu",array(
"vecchio menu" => oh("menu.mainmenu"),
"nuovo menu" => oh("menu.mainmenu"),
));
oh("menu")->draw("gmenu",'<ul>','<li>','</li>','</ul>');
?>
You can follow any responses to this entry through the RSS 2.0 feed.
Comments
ciao
February 23rd, 2010
<?php
echo "ciao"
?>
February 23rd, 2010
code:php
code.
February 23rd, 2010
!!php
<?php
echo "Ciao";
if ($_GET['ci'] = "ao") {
}
?>
!!
February 23rd, 2010
!!php
<?php
oh("kernel")->info();
?>
!!
February 23rd, 2010
!!php
!!
February 24th, 2010
!!php
<?php
foreach($a as $i) {
}
?>
!!
February 25th, 2010
February 25th, 2010
February 25th, 2010
February 25th, 2010
February 25th, 2010
February 25th, 2010
February 25th, 2010
February 26th, 2010