LEPTON CMS 7.2.0
feel free to keep it strictly simple...
Loading...
Searching...
No Matches
function.get_menu_title.php File Reference

Go to the source code of this file.

Functions

 get_menu_title (int $PageId=0)
 

Variables

if(!defined("SEC_FILE")) if(defined('LEPTON_PATH')) else
 
 $root = $oneback
 
 $level = 1
 

Function Documentation

◆ get_menu_title()

get_menu_title ( int $PageId = 0)

Function to get a pages menu title

Parameters
int$iPageId- page ID
Returns
string|NULL (0 if page hasn't children, string title if not)

Definition at line 49 of file function.get_menu_title.php.

Variable Documentation

◆ $level

$level = 1

Definition at line 27 of file function.get_menu_title.php.

◆ $root

$root = $oneback

Definition at line 26 of file function.get_menu_title.php.

◆ else

while(($level< 10) &&(!file_exists($root.SEC_FILE))) if (file_exists( $root.SEC_FILE)) else
Initial value:
{
$oneback = "../"

Definition at line 24 of file function.get_menu_title.php.