Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • ActiveRecordParcelTrackingCode
  • ApiV2Authenticator
  • CustomerConfigurationProvider
  • CustomerConfigurationSettings
  • CustomerDisplaySettings
  • CustomerErrorMessageSettings
  • CustomerMaxLengthSettings
  • CustomerMinLengthSettings
  • EmailConfigurationProvider
  • EmailMailerSettings
  • FontAwesomeIconClassProvider
  • GXModuleCenterModuleButtonActionsAjaxController
  • GXModuleConfigurationStorage
  • GXModuleController
  • GXParcelTrackingCode
  • GXParcelTrackingCodeWriter
  • GXSmarty
  • ManufacturerServiceFactory
  • OrderConfigurationProvider
  • OrderParcelTrackingCode
  • OrderStatusAjaxController
  • ParcelTrackingCodeComment
  • ParcelTrackingCodeDeleter
  • ParcelTrackingCodeDeleteService
  • ParcelTrackingCodeFactory
  • ParcelTrackingCodeFinder
  • ParcelTrackingCodeId
  • ParcelTrackingCodeLanguageId
  • ParcelTrackingCodeOrderId
  • ParcelTrackingCodeRepository
  • ParcelTrackingCodeServiceId
  • ParcelTrackingCodeServiceName
  • ParcelTrackingCodeUrl
  • ProductRepositoryDeleteHelper
  • ShopOfflineController
  • Smarty_Resource_Get_Usermod
  • ZonesController

Traits

  • ContentManagerContentNavigationTrait
  • HtmlUtilityTrait
  • StringUtilityTrait
  • XtcUtilityTrait

Exceptions

  • CountryZoneNotFoundException
  • ShipcloudWebhookException

Functions

  • smarty_function_check_magna_execute
  • smarty_function_check_mailbeez_menu
  • smarty_function_get_sub_categories
  • smarty_function_gm_footer
  • smarty_function_gm_get_conf
  • smarty_function_gm_gmotion
  • smarty_function_gm_gprint
  • smarty_function_gm_menuboxes
  • smarty_function_html_shop_offline
  • smarty_function_is_filemanager_available
  • smarty_function_load_env_array
  • smarty_function_load_language_text
  • smarty_function_object_product_list
  • smarty_function_page_url
  • smarty_function_pre_black_container
  • smarty_modifier_gm_get_conf
  • smarty_modifier_gm_get_env_info
  • smarty_modifier_has_children
  • smarty_modifier_xtc_href_link
  • smarty_outputfilter_note
  • smarty_php_tag

Trait ContentManagerContentNavigationTrait

Direct Known Users

ContentManagerElementsController, ContentManagerPagesController, ContentManagerProductContentsController

Located at Controllers/HttpView/Admin/ContentManager/ContentManagerContentNavigationTrait.inc.php

Methods summary

protected ContentNavigationCollection
# _createContentNavigation( LanguageTextManager $languageTextManager, string|null $current = null )

Creates the content navigation object for the content manager templates.

Creates the content navigation object for the content manager templates.

Parameters

$languageTextManager
Text manager instance to fetch texts.
$current

(Optional) Whether "pages", "elements" or "productContents" to set nav item active.

Returns

ContentNavigationCollection
protected integer
# _createNewContentGroupId( CI_DB_query_builder $queryBuilder )

Creates a new content group id.

Creates a new content group id.

Parameters

$queryBuilder
Query builder instance to access the database.

Returns

integer
New content manager group id.
protected RedirectHttpControllerResponse
# _getUpdateResponse( string $contentManagerType, integer $contentGroupId, $editMethod = 'edit' )

Whether redirects to the last overview or update pages.

Whether redirects to the last overview or update pages.

Parameters

$contentManagerType
Name of content manager controller class.
$contentGroupId
Content id of last edited content.
$editMethod

Returns

RedirectHttpControllerResponse
protected
# _insertContentData( CI_DB_query_builder $queryBuilder, array $contentData )

Inserts the given content data in the database.

Inserts the given content data in the database.

Parameters

$queryBuilder
Query builder instance to access the database.
$contentData
Content data array.

Returns


$this|\ContentManagerPagesController Same instance for chained method calls.
protected AssetCollection
# _getAssets( )

Returns the assets for the content manager editing and creation pages.

Returns the assets for the content manager editing and creation pages.

Returns

AssetCollection
protected ExistingFile
# _getTemplate( string $type, string $name )

Returns an existing file object with the path to a content manager template file. Take a look on the template files which are located in html/content/content_manager/$type directory to know possible values for the $name argument.

Returns an existing file object with the path to a content manager template file. Take a look on the template files which are located in html/content/content_manager/$type directory to know possible values for the $name argument.

Parameters

$type
Content manager type, whether "pages", "elements" or "product_contents".
$name
Name of template file.

Returns

ExistingFile
protected
# _updateContentData( CI_DB_query_builder $queryBuilder, array $contentData, integer $contentGroupId )

Updates the given content data in the database.

Updates the given content data in the database.

Parameters

$queryBuilder
Query builder instance to access the database.
$contentData
Content data array.
$contentGroupId
Content group id.

Returns


$this|\ContentManagerPagesController Same instance for chained method calls.
protected array
# _getScriptPageFiles( )

Returns an array with allowed script files for content data.

Returns an array with allowed script files for content data.

Returns

array
List with allowed script files.
protected array
# _getProductsContentFiles( )

Returns an array with allowed script files for content data.

Returns an array with allowed script files for content data.

Returns

array
List with allowed script files.
protected boolean
# _isFilemanagerAvailable( )

Returns true if the "Responsive File Manager" is installed an false otherwise.

Returns true if the "Responsive File Manager" is installed an false otherwise.

Returns

boolean
protected
# _setExpertMode( )

Sets the expert mode, if the query parameter has been passed.

Sets the expert mode, if the query parameter has been passed.

protected string
# _prepareContentManagerGroupCheckData( )

Prepares $_POST data for the content_manager's 'group_ids' column.

Prepares $_POST data for the content_manager's 'group_ids' column.

Returns

string
protected string
# _getContentType( array $queryResult )

Returns the content type of the given query result.

Returns the content type of the given query result.

Parameters

$queryResult
Data sets of query for content_manager table.

Returns

string
Whether "content", "file" or "link".

Properties summary

protected array $contentTypeFileFlagMap
# [ 'pages_main' => 'topmenu', 'pages_secondary' => 'topmenu_corner', 'pages_info' => 'content', 'pages_info_box' => 'information', 'elements_start' => 'extraboxes', 'elements_header' => 'extraboxes', 'elements_footer' => 'extraboxes', 'elements_boxes' => 'extraboxes', 'elements_others' => 'extraboxes', 'elements_withdrawal' => 'withdrawal', ]
protected array $fileTypMap
# [ 'information', 'content', 'topmenu_corner', 'topmenu', 'extraboxes', 'withdrawal' ]
protected boolean $isExpertMode
# false
API documentation generated by ApiGen