mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Plugin Builder: Example help menu function added.
This commit is contained in:
@@ -5155,6 +5155,15 @@ $text .= "
|
|||||||
// do something
|
// do something
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// left-panel help menu area.
|
||||||
|
public function renderHelp()
|
||||||
|
{
|
||||||
|
\$caption = LAN_HELP;
|
||||||
|
\$text = 'Some help text';
|
||||||
|
|
||||||
|
return array('caption'=>\$caption,'text'=> \$text);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// optional - a custom page.
|
// optional - a custom page.
|
||||||
@@ -5165,6 +5174,10 @@ $text .= "
|
|||||||
return \$text;
|
return \$text;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user