Class

LinksMenuElement

Abstract Package: phpboost Author: Loic Rouchon <loic.rouchon@phpboost.com> Desc: A LinksMenuElement contains a Title, an url, and an image url Located at phpboost/menu/links/LinksMenuElement.class.php
Menu
Extended by LinksMenuElement

Direct known subclasses

LinksMenu, LinksMenuLink
Methods summary
public
# __construct( mixed $title, mixed $url, mixed $image = '' )
protected
# _assign( Template $template, integer $mode = LinksMenuElement::LINKS_MENU_ELEMENT__CLASSIC_DISPLAYING )
protected
# _parent( mixed $type )
public
# set_image( string $image )
public
# set_url( string $url )
public integer
# get_uid( )

Returns the menu uid

public
# update_uid( )

Update the menu uid

public string
# get_url( boolean $compute_relative_url = true )
public string
# get_image( boolean $compute_relative_url = true )
Methods inherited from Menu
admin_display(), assign_common_template_variables(), check_auth(), display(), enabled(), get_auth(), get_block(), get_block_position(), get_default_template(), get_filters(), get_formated_title(), get_id(), get_template_to_use(), get_title(), id(), is_enabled(), is_hidden_with_small_screens(), need_cached_string(), set_auth(), set_block(), set_block_position(), set_filters(), set_hidden_with_small_screens(), set_template(), set_title()
Constants summary
Constants inherited from Menu
BLOCK_POSITION__ALL, BLOCK_POSITION__BOTTOM_CENTRAL, BLOCK_POSITION__FOOTER, BLOCK_POSITION__HEADER, BLOCK_POSITION__LEFT, BLOCK_POSITION__NOT_ENABLED, BLOCK_POSITION__RIGHT, BLOCK_POSITION__SUB_HEADER, BLOCK_POSITION__TOP_CENTRAL, BLOCK_POSITION__TOP_FOOTER, MENU_AUTH_BIT, MENU_ENABLED, MENU_ENABLE_OR_NOT, MENU_NOT_ENABLED, MENU__CLASS
Properties summary
public string $url ''
#

the LinksMenuElement url

public string $image ''
#

the image url. Could be relative to the website root or absolute

public integer $uid null
#

Menu's uid

public integer $depth 0
#

Menu's depth

Properties inherited from Menu
$auth, $block, $enabled, $filters, $hidden_with_small_screens, $id, $position, $template, $title