Trait ContentManagerContentNavigationTrait
Direct Known Users
ContentManagerElementsController,
ContentManagerPagesController,
ContentManagerProductContentsController
Methods summary
protected
_createNewContentGroupId( CI_DB_query_builder $queryBuilder )
: integer
Creates a new content group id.
protected
_getUpdateResponse( string $contentManagerType, integer $contentGroupId, $editMethod = 'edit' )
: RedirectHttpControllerResponse
Whether redirects to the last overview or update pages.
protected
_insertContentData( CI_DB_query_builder $queryBuilder, array $contentData )
:
Inserts the given content data in the database.
protected
_getAssets( void )
: AssetCollection
Returns the assets for the content manager editing and creation pages.
protected
_getTemplate( string $type, string $name )
: ExistingFile
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.
protected
_updateContentData( CI_DB_query_builder $queryBuilder, array $contentData, integer $contentGroupId )
:
Updates the given content data in the database.
protected
_getScriptPageFiles( void )
: array
Returns an array with allowed script files for content data.
protected
_getProductsContentFiles( void )
: array
Returns an array with allowed script files for content data.
protected
_isFilemanagerAvailable( void )
: boolean
Returns true if the "Responsive File Manager" is installed an false otherwise.
protected
_prepareContentManagerGroupCheckData( void )
: string
Prepares $_POST data for the content_manager's 'group_ids' column.
protected
_getContentType( array $queryResult )
: string
Returns the content type of the given query result.
Properties summary
protected
$contentTypeFileFlagMap
: array
[
'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
$fileTypMap
: array
[
'information',
'content',
'topmenu_corner',
'topmenu',
'extraboxes',
'withdrawal'
]