APIBoost A.P.I. documentation for PHPBoost CMS
  • Packages
    • Ajax
    • Builder
    • Content
    • Core
    • Default
    • Doctrine
    • Helper
    • IO
    • MVC
    • PHPBoost
    • Util
  • Interfaces
  • Classes
  • CacheData
  • CaptchaOptions
  • CommentsExtensionPoint
  • ConfigData
  • ContentFormattingExtensionPoint
  • Controller
  • CssFilesExtensionPoint
  • DAO
  • DataStore
  • DBConnection
  • DBMSFactory
  • DBMSUtils
  • ExtendedFieldExtensionPoint
  • ExtensionPoint
  • ExternalAuthentication
  • FeedProvider
  • FileReader
  • FileWriter
  • FormattingParser
  • FormButton
  • FormConstraint
  • FormElement
  • FormField
  • FormFieldConstraint
  • FormFieldEnumOption
  • FormFieldset
  • GraphicalEnvironment
  • HomePage
  • HomePageExtensionPoint
  • HTMLElement
  • HTMLTableFilter
  • InjectQueryResult
  • MailService
  • MemberExtendedFieldType
  • MenusExtensionPoint
  • ModuleSetup
  • ModuleTreeLinksExtensionPoint
  • PropertiesMapInterface
  • QueryResult
  • Response
  • ScheduledJobExtensionPoint
  • SearchableExtensionPoint
  • SelectQueryResult
  • SQLFragmentBuilder
  • SQLQuerier
  • SQLQueryTranslator
  • Template
  • TemplateData
  • TemplateLoader
  • TemplateParser
  • TemplateRenderer
  • TemplateSyntaxElement
  • UrlMapper
  • UrlMappingsExtensionPoint
  • View
  • AbstractAdminItemController
  • AbstractCategoriesFormController
  • AbstractCategoriesManagementController
  • AbstractCommentsBuildForm
  • AbstractCommentsController
  • AbstractConfigData
  • AbstractContentFormattingExtensionPoint
  • AbstractController
  • AbstractDeleteCategoryController
  • AbstractDisplayGraphicalEnvironment
  • AbstractFormButton
  • AbstractFormField
  • AbstractFormFieldChoice
  • AbstractFormFieldConstraint
  • AbstractFormFieldEnumOption
  • AbstractFormFieldset
  • AbstractGraphicalEnvironment
  • AbstractHTMLElement
  • AbstractHTMLTableFilter
  • AbstractItemController
  • AbstractMemberExtendedField
  • AbstractParser
  • AbstractPHPMailerMailService
  • AbstractPlatform
  • AbstractQueryResult
  • AbstractResponse
  • AbstractScheduledJobExtensionPoint
  • AbstractSearchableExtensionPoint
  • AbstractSelectQueryResult
  • AbstractSQLQuerier
  • AbstractTemplate
  • AbstractTemplateParser
  • AbstractTemplateSyntaxElement
  • AbstractUrlMapper
  • ActionAuthorization
  • AddCommentBuildForm
  • AdminController
  • AdminDisplayFrameGraphicalEnvironment
  • AdminDisplayFrameResponse
  • AdminDisplayGraphicalEnvironment
  • AdminDisplayResponse
  • AdministratorAlert
  • AdministratorAlertCache
  • AdministratorAlertService
  • AdminMenuDisplayResponse
  • AdminModuleController
  • AdminModuleLink
  • AdminNodisplayGraphicalEnvironment
  • AdminNodisplayResponse
  • AjaxCommentsDisplayController
  • AjaxCommentsNotationController
  • AjaxImagePreviewController
  • AjaxKeywordsAutoCompleteController
  • AjaxRequest
  • AjaxSearchUserAutoCompleteController
  • AjaxUrlValidationController
  • AjaxUserAutoCompleteController
  • APCDataStore
  • AppContext
  • Application
  • ArrayContentTemplateSyntaxElement
  • Arrays
  • ArrayTemplateSyntaxElement
  • ArrayType
  • ATOM
  • AuthenticationMethod
  • AuthenticationService
  • Authorizations
  • AuthorizationsSettings
  • AutoConnectData
  • BBCodeHighlighter
  • Bench
  • BigIntType
  • BooleanType
  • BreadCrumb
  • BrHTMLElement
  • BufferedFileReader
  • BufferedFileWriter
  • BusinessObject
  • CacheDataNotFoundException
  • CachedMenu
  • CachedStringTemplateLoader
  • CacheManager
  • CacheService
  • Captcha
  • CaptchaProvidersService
  • CaptchaService
  • CategoriesAuthorizationsService
  • CategoriesCache
  • CategoriesItemsParameters
  • CategoriesManager
  • CategoriesService
  • CategoriesUrlBuilder
  • Category
  • CategoryNotFoundException
  • ClassLoader
  • ColumnsDisabled
  • CommentsAuthorizations
  • CommentsCache
  • CommentsConfig
  • CommentsDAO
  • CommentsManager
  • CommentsProvidersService
  • CommentsService
  • CommentsTopic
  • CommentsTopicDAO
  • CommentsTopicEvents
  • CommentsTopics
  • CommentsUrlBuilder
  • ConditionTemplateSyntaxElement
  • ConfigManager
  • ConfigNotFoundException
  • ConstantTemplateSyntaxElement
  • ContentEditor
  • ContentFormattingConfig
  • ContentFormattingParser
  • ContentFormattingProvidersService
  • ContentFormattingService
  • ContentFormattingUnparser
  • ContentManagementConfig
  • ContentMenu
  • ContentSecondParser
  • ContentSharingActionsMenuLink
  • ContentSharingActionsMenuLinksExtensionPoint
  • ContentSharingActionsMenuService
  • Contribution
  • ContributionService
  • CookieBarConfig
  • Countries
  • CSSCacheConfig
  • CSSCacheManager
  • CSSFileOptimizer
  • CurrentUser
  • CustomizationConfig
  • CustomizeInterface
  • DataStoreException
  • DataStoreFactory
  • Date
  • DateTimeType
  • DateType
  • DBConnectionException
  • DBFactory
  • DBQuerier
  • Debug
  • DecimalType
  • DefaultAdminDisplayResponse
  • DefaultAjaxDeleteItemController
  • DefaultCategoriesCache
  • DefaultCategoriesFeedProvider
  • DefaultCategoriesFormController
  • DefaultCategoriesManagementController
  • DefaultCommentsTopic
  • DefaultConfigurationController
  • DefaultDeleteCategoryController
  • DefaultDeleteItemController
  • DefaultDisplayItemController
  • DefaultHomePage
  • DefaultHomePageDisplay
  • DefaultItemsManagementController
  • DefaultMailService
  • DefaultModuleConfig
  • DefaultModuleSetup
  • DefaultRichCategoriesCache
  • DefaultRichModuleConfig
  • DefaultScheduledJobsModule
  • DefaultSearchable
  • DefaultSeveralItemsController
  • DefaultSitemapCategoriesModule
  • DefaultSitemapModule
  • DefaultTemplateData
  • DefaultTemplateRenderer
  • DefaultTreeLinks
  • DeleteLinkHTMLElement
  • Dispatcher
  • DispatcherException
  • DispatcherUrlMapping
  • DispatchManager
  • DivHTMLElement
  • DoctrineException
  • EditCommentBuildForm
  • EditLinkHTMLElement
  • Environment
  • ErrorHandler
  • Event
  • ExceptionHandler
  • ExceptionUtils
  • ExpressionContentTemplateSyntaxElement
  • ExpressionTemplateSyntaxElement
  • ExtendedField
  • ExtendedFields
  • ExtendedFieldsCache
  • ExtendedFieldsDatabaseService
  • ExtendedFieldsService
  • ExtensionPointNotFoundException
  • ExtensionPointProvider
  • ExtensionPointProviderService
  • ExternalAuthenticationsExtensionPoint
  • Feed
  • FeedData
  • FeedItem
  • FeedItemEnclosure
  • FeedMenu
  • FeedsCat
  • FeedsCategoriesModule
  • FeedsList
  • File
  • FileSystemDataStore
  • FileSystemElement
  • FileSystemHelper
  • FileTemplate
  • FileTemplateLoader
  • FileTemplateLoadingException
  • FileTemplateRenderingException
  • FileType
  • FileUploadConfig
  • FileUploadService
  • Filter
  • FloatType
  • Folder
  • FormatingHelper
  • FormBuilderDisabledFieldException
  • FormBuilderException
  • FormButtonAjax
  • FormButtonAjaxCssImg
  • FormButtonButton
  • FormButtonButtonCssImg
  • FormButtonDefaultSubmit
  • FormButtonLink
  • FormButtonLinkCssImg
  • FormButtonReset
  • FormButtonSubmit
  • FormButtonSubmitCssImg
  • FormButtonSubmitImg
  • FormConstraintFieldsDifferenceInferior
  • FormConstraintFieldsDifferenceSuperior
  • FormConstraintFieldsEquality
  • FormConstraintFieldsInequality
  • FormConstraintFieldsNotIncluded
  • FormFieldActionLink
  • FormFieldActionLinkElement
  • FormFieldActionLinkList
  • FormFieldAjaxCompleter
  • FormFieldAjaxSearchUserAutoComplete
  • FormFieldAjaxUserAutoComplete
  • FormFieldAuthorizationsSetter
  • FormFieldBooleanInformation
  • FormFieldCaptcha
  • FormFieldCategoriesSelect
  • FormFieldCheckbox
  • FormFieldColorPicker
  • FormFieldConstraintAntiFlood
  • FormFieldConstraintDate
  • FormFieldConstraintDisplayNameExists
  • FormFieldConstraintFileExtension
  • FormFieldConstraintFileMaxSize
  • FormFieldConstraintForbiddenMailDomains
  • FormFieldConstraintIntegerMax
  • FormFieldConstraintIntegerMin
  • FormFieldConstraintIntegerRange
  • FormFieldConstraintLengthMax
  • FormFieldConstraintLengthMin
  • FormFieldConstraintLengthRange
  • FormFieldConstraintMailAddress
  • FormFieldConstraintMailExist
  • FormFieldConstraintMaxLinks
  • FormFieldConstraintNotEmpty
  • FormFieldConstraintPasswordStrength
  • FormFieldConstraintPHPBoostAuthLoginExists
  • FormFieldConstraintPictureFile
  • FormFieldConstraintRegex
  • FormFieldConstraintTel
  • FormFieldConstraintUrl
  • FormFieldConstraintUrlExists
  • FormFieldConstraintUserExist
  • FormFieldCSRFToken
  • FormFieldDate
  • FormFieldDateTime
  • FormFieldDecimalNumberEditor
  • FormFieldEditors
  • FormFieldFilePicker
  • FormFieldFree
  • FormFieldGroups
  • FormFieldHidden
  • FormFieldHTML
  • FormFieldLabel
  • FormFieldLangsSelect
  • FormFieldMailEditor
  • FormFieldMemberCaution
  • FormFieldMemberSanction
  • FormFieldMenuFieldset
  • FormFieldMultiLineTextEditor
  • FormFieldMultipleAutocompleter
  • FormFieldMultipleCheckbox
  • FormFieldMultipleCheckboxOption
  • FormFieldMultipleSelectChoice
  • FormFieldMultipleValuedCheckboxOption
  • FormFieldMultitabsLink
  • FormFieldMultitabsLinkElement
  • FormFieldMultitabsLinkList
  • FormFieldNumberEditor
  • FormFieldPasswordEditor
  • FormFieldPossibleValues
  • FormFieldRadioChoice
  • FormFieldRadioChoiceOption
  • FormFieldRangeEditor
  • FormFieldRanksSelect
  • FormFieldRichTextEditor
  • FormFieldSearch
  • FormFieldSelectChoiceGroupOption
  • FormFieldSelectChoiceOption
  • FormFieldSelectSources
  • FormFieldsetAccordionControls
  • FormFieldsetHidden
  • FormFieldsetHorizontal
  • FormFieldsetHTML
  • FormFieldsetHTMLHeading
  • FormFieldsetMultitabsHTML
  • FormFieldsetSubmit
  • FormFieldsetVertical
  • FormFieldShortMultiLineTextEditor
  • FormFieldSimpleSelectChoice
  • FormFieldSpacer
  • FormFieldSubTitle
  • FormFieldTelEditor
  • FormFieldTextEditor
  • FormFieldThemesSelect
  • FormFieldThumbnail
  • FormFieldTimezone
  • FormFieldUploadFile
  • FormFieldUploadPictureFile
  • FormFieldUrlEditor
  • FunctionCallTemplateSyntaxElement
  • FunctionTemplateSyntaxElement
  • GeneralConfig
  • GraphicalEnvironmentConfig
  • GroupsCache
  • GroupsService
  • HtaccessFileCache
  • HTMLForm
  • HTMLTable
  • HTMLTableAjaxUserAutoCompleteFilter
  • HTMLTableAjaxUserAutoCompleteSQLFilter
  • HTMLTableBeginsWithTextSQLFilter
  • HTMLTableCheckboxFilter
  • HTMLTableColumn
  • HTMLTableDateComparatorSQLFilter
  • HTMLTableDateGreaterThanOrEqualsToSQLFilter
  • HTMLTableDateLessThanOrEqualsToSQLFilter
  • HTMLTableDateTimeGreaterThanOrEqualsToSQLFilter
  • HTMLTableDateTimeLessThanOrEqualsToSQLFilter
  • HTMLTableEndsWithTextSQLFilter
  • HTMLTableEqualsFromListFilter
  • HTMLTableEqualsFromListSQLFilter
  • HTMLTableEqualsToSQLFilter
  • HTMLTableEscapedLikeTextSQLFilter
  • HTMLTableGreaterThanOrEqualsToSQLFilter
  • HTMLTableGreaterThanSQLFilter
  • HTMLTableLessThanOrEqualsToSQLFilter
  • HTMLTableLessThanSQLFilter
  • HTMLTableLikeFromListSQLFilter
  • HTMLTableLikeTextSQLFilter
  • HTMLTableModel
  • HTMLTableNumberComparatorSQLFilter
  • HTMLTableParameters
  • HTMLTableRow
  • HTMLTableRowCell
  • HTMLTableSortingRule
  • HTMLTableTextFilter
  • HTMLTableUnapprovedSQLFilter
  • HTTPCookie
  • HTTPFatalExceptionPrinter
  • HTTPRequestCustom
  • HTTPResponseCustom
  • I18NMessages
  • IdcardService
  • IllegalArgumentException
  • Image
  • ImageResizer
  • ImgHTMLElement
  • IncludeTemplateSyntaxElement
  • IntegerType
  • IntegratedErrorHandler
  • InvalidTemplateFunctionCallException
  • IOException
  • Item
  • ItemsAuthorizationsService
  • ItemsManager
  • ItemsModuleExtensionPointProvider
  • ItemsService
  • ItemsUrlBuilder
  • JoinMappingModel
  • JSONResponse
  • KeyGenerator
  • Keyword
  • KeywordsCache
  • KeywordsManager
  • KeywordsService
  • Lang
  • LangConfiguration
  • LangConfigurationManager
  • LangLoader
  • LangNotFoundException
  • LangsConfig
  • LangsManager
  • LangVarTemplateSyntaxElement
  • LastUseDateConfig
  • LinkHTMLElement
  • LinksMenu
  • LinksMenuElement
  • LinksMenuLink
  • LoopTemplateSyntaxElement
  • LoopVarTemplateSyntaxElement
  • Mail
  • MailServiceConfig
  • MailToPHPMailerConverter
  • MailUtil
  • MaintenanceConfig
  • MalformedUrlMapperRegexException
  • MappingModel
  • MappingModelField
  • MemberDateExtendedField
  • MemberDisabledActionAuthorization
  • MemberExtendedField
  • MemberExtendedFieldErrorsMessageException
  • MemberExtendedFieldsService
  • MemberHalfLongTextExtendedField
  • MemberHiddenExtendedField
  • MemberLongTextExtendedField
  • MemberMultipleChoiceExtendedField
  • MemberMultipleSelectExtendedField
  • MemberSanctionManager
  • MemberShortTextExtendedField
  • MemberSimpleChoiceExtendedField
  • MemberSimpleSelectExtendedField
  • MemberUserAvatarExtendedField
  • MemberUserBornExtendedField
  • MemberUserPMToMailExtendedField
  • MemberUserSexExtendedField
  • Menu
  • MenusCache
  • MenuService
  • MenusProvidersService
  • MenuStringFilter
  • MessageHelper
  • MiniCalendar
  • Module
  • ModuleConfiguration
  • ModuleConfigurationManager
  • ModuleController
  • ModuleCssFiles
  • ModuleDispatchManager
  • ModuleExtensionPointProvider
  • ModuleLink
  • ModuleMenus
  • ModuleMiniMenu
  • ModulePagination
  • ModulesConfig
  • ModulesCssFilesService
  • ModulesManager
  • ModulesUrlBuilder
  • ModuleTreeLinks
  • ModuleTreeLinksService
  • MySQLDBConnection
  • MySQLDBConnectionException
  • MySQLDBFactory
  • MySQLDBMSUtils
  • MySQLInjectQueryResult
  • MySqlPlatform
  • MySQLQuerier
  • MySQLQuerierException
  • MySQLQueryTranslator
  • MySQLSelectQueryResult
  • MySQLUnexistingDatabaseException
  • NginxFileCache
  • NoSuchControllerException
  • NotASingleRowFoundException
  • Notation
  • NotationService
  • Notification
  • NotYetImplementedException
  • NoUrlMatchException
  • NumberHelper
  • ObjectNotFoundException
  • ObjectType
  • Pagination
  • ParametersTemplateSyntaxElement
  • ParameterTypeMismatchException
  • Path
  • PDODBConnection
  • PDODBConnectionException
  • PDOInjectQueryResult
  • PDOMySQLDBFactory
  • PDOQuerier
  • PDOQuerierException
  • PDOSelectQueryResult
  • PersistenceContext
  • PHPBoostAuthenticationMethod
  • PHPBoostErrors
  • PHPBoostFoldersPermissions
  • PHPBoostIndexController
  • PHPBoostNotInstalledException
  • PHPTemplateSyntaxElement
  • PlainCodeHighlighter
  • PostgreSqlPlatform
  • PrivateMsg
  • PropertyNotFoundException
  • RAMDataStore
  • RawExceptionHandler
  • RegexHelper
  • RemainingStringVarException
  • Repository
  • RichCategory
  • RichItem
  • RichRootCategory
  • Robots
  • RolesAuthorizations
  • RootCategory
  • RowNotFoundException
  • RSS
  • SearchCategoryChildrensOptions
  • SearchResult
  • SecurityConfig
  • SelectQueryResultMapper
  • SEOMetaData
  • ServerConfiguration
  • ServerEnvironmentConfig
  • Session
  • SessionData
  • SessionNotFoundException
  • SessionsConfig
  • SimpleVarTemplateSyntaxElement
  • SiteDisplayFrameGraphicalEnvironment
  • SiteDisplayFrameResponse
  • SiteDisplayGraphicalEnvironment
  • SiteDisplayResponse
  • SitemapCategoriesModule
  • SiteNodisplayGraphicalEnvironment
  • SiteNodisplayResponse
  • SmallIntType
  • SmileysCache
  • SMTPConfiguration
  • SMTPMailService
  • SpanHTMLElement
  • SQLDAO
  • SQLFragment
  • SQLHTMLTableModel
  • SqlitePlatform
  • SQLQuerierException
  • SQLQueryVars
  • StatsCache
  • StringInputStream
  • StringOutputStream
  • StringTemplate
  • StringTemplateLoader
  • StringType
  • StringVars
  • TemplateFunctions
  • TemplateHighlighter
  • TemplateLoadingException
  • TemplateRenderingException
  • TemplateSyntaxParser
  • TemplateSyntaxParserContext
  • TextHelper
  • TextTemplateSyntaxElement
  • TextType
  • Theme
  • ThemeConfiguration
  • ThemeConfigurationManager
  • ThemesConfig
  • ThemesManager
  • TimeType
  • Timezone
  • Type
  • UnexistingDatabaseException
  • UnexistingExtensionPointProviderException
  • UnexistingHTTPParameterException
  • UnreadContributionsCache
  • UnsupportedOperationException
  • Updates
  • Upload
  • UploadedFile
  • UploadedFileTooLargeException
  • Uploads
  • Url
  • UrlControllerMapper
  • UrlMapping
  • UrlMappings
  • UrlRedirectMapper
  • UrlSerializedParameter
  • UrlSerializedParameterEncoder
  • UrlSerializedParameterParser
  • User
  • UserAccountsConfig
  • UserService
  • ValidationResult
  • VariableExpressionTemplateSyntaxElement
  • VariableTemplateSyntaxElement
  • VisitorDisabledActionAuthorization
  • WizardActionLinkList
  • WizardFormFieldsetSubmit
  • WizardHTMLForm
  • WritingPadConfig
Methods
  • __construct()
  • need_cached_string()
  • display()
  • admin_display()
  • id()
  • check_auth()
  • set_title()
  • set_auth()
  • enabled()
  • set_block()
  • set_block_position()
  • set_hidden_with_small_screens()
  • set_disabled_body()
  • set_pushed_content()
  • set_pushmenu_opening()
  • set_pushmenu_expanding()
  • get_formated_title()
  • get_title()
  • get_auth()
  • get_id()
  • get_block()
  • get_block_position()
  • is_enabled()
  • is_hidden_with_small_screens()
  • is_disabled_body()
  • is_pushed_content()
  • get_pushmenu_opening()
  • get_pushmenu_expanding()
  • get_filters()
  • set_filters()
  • set_template()
  • get_template()
  • get_module_id()
  • get_url()
  • set_module_id()
  • set_cat()
  • set_name()
  • get_number()
  • set_number()
  • _assign()
  • assign_common_template_variables()
  • get_template_to_use()
  • get_default_template()
  • No private methods found
Properties
  • $id
  • $title
  • $auth
  • $enabled
  • $block
  • $position
  • $pushmenu_opening
  • $pushmenu_expanding
  • $filters
  • $url
  • $module_id
  • $name
  • $category
  • $number
  • $begin_at
  • $hidden_with_small_screens
  • $disabled_body
  • $pushed_content
  • $template
  • No private properties found
Constants
  • MENU_AUTH_BIT
  • MENU_ENABLE_OR_NOT
  • MENU_ENABLED
  • MENU_NOT_ENABLED
  • BLOCK_POSITION__NOT_ENABLED
  • BLOCK_POSITION__HEADER
  • BLOCK_POSITION__SUB_HEADER
  • BLOCK_POSITION__TOP_CENTRAL
  • BLOCK_POSITION__BOTTOM_CENTRAL
  • BLOCK_POSITION__TOP_FOOTER
  • BLOCK_POSITION__FOOTER
  • BLOCK_POSITION__LEFT
  • BLOCK_POSITION__RIGHT
  • BLOCK_POSITION__ALL
  • PUSHMENU_LEFT
  • PUSHMENU_RIGHT
  • PUSHMENU_TOP
  • PUSHMENU_BOTTOM
  • PUSHMENU_OVERLAP
  • PUSHMENU_EXPAND
  • PUSHMENU_NONE
  • MENU__CLASS
  • FEED_MENU__CLASS
  1. APIBoost
  2. \PHPBoost\Menu\feed
  3. FeedMenu

Class FeedMenu

Summary

  • File
  • Package hierarchy Menu\feed
  • Class hierarchy \Menu \FeedMenu
  • package

    PHPBoost

  • subpackage

    Menu\feed

  • copyright

    © 2005-2020 PHPBoost

  • license

    https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0

  • author

    Loic ROUCHON horn@phpboost.com

  • version

    PHPBoost 6.0 - last update: 2020 04 07

  • since

    PHPBoost 2.0 - 2009 01 14

  • contributor

    Kevin MASSY reidlos@phpboost.com

  • contributor

    Julien BRISWALTER j1.seth@phpboost.com

  • contributor

    Arnaud GENET elenwii@phpboost.com

  • contributor

    Sebastien LARTIGUE babsolune@phpboost.com

This class represents a menu element and is used to build any kind of menu

Methods

__construct()

__construct(string $title,  $module_id,  $category,  $name = \Feed::DEFAULT_FEED_NAME,  $number = 10,  $begin_at) 

Build a Menu element.

Parameters
string $title

the Menu title

$module_id
$category
$name
$number
$begin_at
  • Inherited from \FeedMenu
Tags
None found

need_cached_string()

need_cached_string() : boolean

Check if the menu needs to be cached

Returns
boolean —

true if the menu need to be cached

  • Inherited from \Menu
Tags
None found

display()

display() : string

Display the menu

Returns
string —

the menu parsed in xHTML

  • Inherited from \FeedMenu
Tags
None found

admin_display()

admin_display() : string

Display the menu admin gui

Returns
string —

the menu parsed in xHTML

  • Inherited from \Menu
Tags
None found

id()

id(integer $id) 

Parameters
integer $id

Set the Menu database id

  • Inherited from \Menu
Tags
None found

check_auth()

check_auth() : boolean

Check the user authorization to see the LinksMenuElement

Returns
boolean —

true if the user is authorised, false otherwise

  • Inherited from \Menu
Tags
None found

set_title()

set_title( $title) 

Parameters
$title
  • Inherited from \Menu
Tags
None found

set_auth()

set_auth( $auth) 

Parameters
$auth
  • Inherited from \Menu
Tags
None found

enabled()

enabled(boolean $enabled = self::MENU_ENABLED) 

Parameters
boolean $enabled

Enable or not the Menu

  • Inherited from \Menu
Tags
None found

set_block()

set_block( $block) : integer

Parameters
$block
Returns
integer —

the Menu $block position

  • Inherited from \Menu
Tags
None found

set_block_position()

set_block_position(integer $position) 

Parameters
integer $position

the Menu position to set

  • Inherited from \Menu
Tags
None found

set_hidden_with_small_screens()

set_hidden_with_small_screens( $value) 

Parameters
$value
  • Inherited from \Menu
Tags
None found

set_disabled_body()

set_disabled_body( $value) 

Parameters
$value
  • Inherited from \Menu
Tags
None found

set_pushed_content()

set_pushed_content( $value) 

Parameters
$value
  • Inherited from \Menu
Tags
None found

set_pushmenu_opening()

set_pushmenu_opening( $value) 

Parameters
$value
  • Inherited from \Menu
Tags
None found

set_pushmenu_expanding()

set_pushmenu_expanding( $value) 

Parameters
$value
  • Inherited from \Menu
Tags
None found

get_formated_title()

get_formated_title() : string

Returns
string —

the displayable Menu $title

  • Inherited from \Menu
Tags
None found

get_title()

get_title() : string

Returns
string —

the Menu $title

  • Inherited from \Menu
Tags
None found

get_auth()

get_auth() : array

Returns
array —

the authorization array $auth

  • Inherited from \Menu
Tags
None found

get_id()

get_id() : integer

Returns
integer —

the $id of the menu in the database

  • Inherited from \Menu
Tags
None found

get_block()

get_block() : integer

Returns
integer —

the Menu $block position

  • Inherited from \Menu
Tags
None found

get_block_position()

get_block_position() : integer

Returns
integer —

the Menu $position

  • Inherited from \Menu
Tags
None found

is_enabled()

is_enabled() : boolean

Returns
boolean —

true if the Menu is enabled, false otherwise

  • Inherited from \Menu
Tags
None found

is_hidden_with_small_screens()

is_hidden_with_small_screens() : boolean

Returns
boolean —

check if menu is hidden with small screens

  • Inherited from \Menu
Tags
None found

is_disabled_body()

is_disabled_body() : boolean

Returns
boolean —

check if body is disabled (pushmenu)

  • Inherited from \Menu
Tags
None found

is_pushed_content()

is_pushed_content() : boolean

Returns
boolean —

check if body is pushed (pushmenu)

  • Inherited from \Menu
Tags
None found

get_pushmenu_opening()

get_pushmenu_opening() : string

Returns
string —

the opening of the pushmenu

  • Inherited from \Menu
Tags
None found

get_pushmenu_expanding()

get_pushmenu_expanding() : string

Returns
string —

the expanding of the pushmenu

  • Inherited from \Menu
Tags
None found

get_filters()

get_filters() : string

Returns
string —

the menu filters

  • Inherited from \Menu
Tags
None found

set_filters()

set_filters(\Array<Filter> $filters) 

Sets the filters of the menu

Parameters
\Array $filters

Filters of the menu

  • Inherited from \Menu
Tags
None found

set_template()

set_template(\Template $template) 

Sets the template of the menu

Parameters
\Template $template

Template of the menu

  • Inherited from \Menu
Tags
None found

get_template()

get_template(string $id, string $name = '', string $block_position = \Menu::BLOCK_POSITION__LEFT,  $hidden_with_small_screens = false,  $module_id = '') : \the

Returns the tpl to parse a feed

Parameters
string $id

The feed id

string $name

The feed name

string $block_position

The indentifier block position defined in the inherit class menu

$hidden_with_small_screens
$module_id
Returns
\the —

tpl to parse a feed

static
  • Inherited from \FeedMenu
Tags
static

get_module_id()

get_module_id() : string

Returns
string —

the feed menu module id

  • Inherited from \FeedMenu
Tags
None found

get_url()

get_url(boolean $relative = false) : \Return

Parameters
boolean $relative

If false, compute the absolute url, else, returns the relative one

Returns
\Return —

the absolute feed Url

  • Inherited from \FeedMenu
Tags
None found

set_module_id()

set_module_id(string $value) 

Parameters
string $value

the feed's module_id

  • Inherited from \FeedMenu
Tags
None found

set_cat()

set_cat(integer $value) 

Parameters
integer $value

the feed's category

  • Inherited from \FeedMenu
Tags
None found

set_name()

set_name(string $value) 

Parameters
string $value

the feed's name

  • Inherited from \FeedMenu
Tags
None found

get_number()

get_number() : \Return

Returns
\Return —

the number of elements displayed in the menu

  • Inherited from \FeedMenu
Tags
None found

set_number()

set_number(string $value) 

Parameters
string $value

the number of elements displayed in the menu

  • Inherited from \FeedMenu
Tags
None found

_assign()

_assign(\Template $template) 

Assign tpl vars

Parameters
\Template $template

the template on which we gonna assign vars

  • Inherited from \Menu
Tags
None found

assign_common_template_variables()

assign_common_template_variables(\Template $template) 

Assign default tpl vars

Parameters
\Template $template

the template on which we gonna assign vars

  • Inherited from \Menu
Tags
None found

get_template_to_use()

get_template_to_use() : \Template

Returns
\Template
  • Inherited from \Menu
Tags
None found

get_default_template()

get_default_template() : string

Get the default template of the menu

Returns
string —

the default template of the menu

  • Inherited from \Menu
Tags
None found

Properties

$id

$id : integer

integer — the element identifier, only used by the service
  • Inherited from
    \Menu
Tags
None found

$title

$title : string

string — the Menu title
  • Inherited from
    \Menu
Tags
None found

$auth

$auth : \int[string]

\int[string] — Represents the Menu authorisations array
  • Inherited from
    \Menu
Tags
None found

$enabled

$enabled : boolean

boolean — true if the Menu is used
  • Inherited from
    \Menu
Tags
None found

$block

$block : integer

integer — The Menu block position
  • Inherited from
    \Menu
Tags
None found

$position

$position : integer

integer — The Menu position on the website
  • Inherited from
    \Menu
Tags
None found

$pushmenu_opening

$pushmenu_opening : string

string — the position of the push menu
  • Inherited from
    \Menu
Tags
None found

$pushmenu_expanding

$pushmenu_expanding : string

string — the position of the push menu
  • Inherited from
    \Menu
Tags
None found

$filters

$filters : \Array<Filter>

\Array — The filter list
  • Inherited from
    \Menu
Tags
None found

$url

$url : string

string — the feed url
Tags
None found

$module_id

$module_id : 

Tags
None found

$name

$name : 

Tags
None found

$category

$category : 

Tags
None found

$number

$number : 

Tags
None found

$begin_at

$begin_at : 

Tags
None found

$hidden_with_small_screens

$hidden_with_small_screens : boolean

boolean — menu hidden or not with small screens
  • Inherited from
    \Menu
Tags
None found

$disabled_body

$disabled_body : boolean

boolean — disabled body content or not with push menu
  • Inherited from
    \Menu
Tags
None found

$pushed_content

$pushed_content : boolean

boolean — push body content or not with push menu
  • Inherited from
    \Menu
Tags
None found

$template

$template : \Template

\Template — the template of the menu
  • Inherited from
    \Menu
Tags
None found

Constants

MENU_AUTH_BIT

MENU_AUTH_BIT = 1

  • Inherited from \Menu
Tags
None found

MENU_ENABLE_OR_NOT

MENU_ENABLE_OR_NOT = 42

  • Inherited from \Menu
Tags
None found

MENU_ENABLED

MENU_ENABLED = true

  • Inherited from \Menu
Tags
None found

MENU_NOT_ENABLED

MENU_NOT_ENABLED = false

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__NOT_ENABLED

BLOCK_POSITION__NOT_ENABLED = 0

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__HEADER

BLOCK_POSITION__HEADER = 1

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__SUB_HEADER

BLOCK_POSITION__SUB_HEADER = 2

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__TOP_CENTRAL

BLOCK_POSITION__TOP_CENTRAL = 3

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__BOTTOM_CENTRAL

BLOCK_POSITION__BOTTOM_CENTRAL = 4

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__TOP_FOOTER

BLOCK_POSITION__TOP_FOOTER = 5

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__FOOTER

BLOCK_POSITION__FOOTER = 6

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__LEFT

BLOCK_POSITION__LEFT = 7

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__RIGHT

BLOCK_POSITION__RIGHT = 8

  • Inherited from \Menu
Tags
None found

BLOCK_POSITION__ALL

BLOCK_POSITION__ALL = 9

  • Inherited from \Menu
Tags
None found

PUSHMENU_LEFT

PUSHMENU_LEFT = 'left'

  • Inherited from \Menu
Tags
None found

PUSHMENU_RIGHT

PUSHMENU_RIGHT = 'right'

  • Inherited from \Menu
Tags
None found

PUSHMENU_TOP

PUSHMENU_TOP = 'top'

  • Inherited from \Menu
Tags
None found

PUSHMENU_BOTTOM

PUSHMENU_BOTTOM = 'bottom'

  • Inherited from \Menu
Tags
None found

PUSHMENU_OVERLAP

PUSHMENU_OVERLAP = 'overlap'

  • Inherited from \Menu
Tags
None found

PUSHMENU_EXPAND

PUSHMENU_EXPAND = 'expand'

  • Inherited from \Menu
Tags
None found

PUSHMENU_NONE

PUSHMENU_NONE = 'false'

  • Inherited from \Menu
Tags
None found

MENU__CLASS

MENU__CLASS = 'Menu'

  • Inherited from \Menu
Tags
None found

FEED_MENU__CLASS

FEED_MENU__CLASS = 'FeedMenu'

Tags
None found
Documentation is powered by phpDocumentor and generated on Thu, 25 Jun 2020 11:10:07 +0200.