Class ContentManagerPagesController
Class ContentManagerPagesController
- HttpViewController implements HttpViewControllerInterface
-
AdminHttpViewController
implements
AdminStatusOnlyInterface
-
ContentManagerPagesController
uses
ContentManagerContentNavigationTrait
Category: System
Located at Controllers/HttpView/Admin/ContentManager/ContentManagerPagesController.inc.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
#
actionSaveInfoPage( )
Stores content manager info page data in the database and redirects to the overview. |
public
|
#
actionUpdateContentPage( )
Updates content manager info pages data in the database and redirects to the overview. |
public
|
#
actionSaveScriptPage( )
Stores content manager link page data in the database and redirects to the overview. |
public
|
#
actionUpdateFilePage( )
Updates content manager script pages data in the database and redirects to the overview. |
public
|
#
actionSaveLinkPage( )
Stores content manager link page data in the database and redirects to the overview. |
public
|
#
actionUpdateLinkPage( )
Updates content manager link pages data in the database and redirects to the overview. |
protected
array
|
|
protected
|
#
_insertUrlRewrites( array $urlRewrites, integer $contentGroupId )
Inserts the given url rewrites in the database. |
protected
|
#
_updateUrlRewrites( array $urlRewrites, integer $contentGroupId )
Updates the given url rewrites in the database. |
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
array
|
#
_getContentManagerEditData( array $contentManagerData )
Prepares the given content manager data to use it in the edit form. |
protected
|
|
protected
array
|
#
_getContentEditData( integer $contentId, array $contentData )
Returns the content edit data array, which will be converted to a key value collection and assigned to the edit form. |
protected
array
|
#
_getUrlRewriteEditData( integer $contentId )
Executes an sql query again the url_rewrites table and returns the result. |
protected
array
|
#
_getEditData( integer $contentId, array $contentData )
Returns content manager data to be edited, prepared for the edit form. |
protected
array
|
|
protected
array
|
#
_getContentDataById( integer $contentId )
Executes an sql query again the content_manager table and returns the result. |
protected
string
|
|
protected
string
|
|
protected
array
|
#
_prepareData( string $contentManagerType )
Prepares $_POST data for updating or inserting into the database. |
protected
array
|
#
_prepareContentManagerData( integer $contentGroupId, string $contentManagerType )
Prepares $_POST data for updating or inserting into the content_manager table. |
protected
array
|
|
protected
string
|
#
_getContentDescription( string $contentType )
Detects the content type names from the queries result data. |
protected
array
|
#
_checkScriptpageFileUploads( )
Detects file uploads for scriptpages and returns the array for new content_file post data. |
Methods inherited from AdminHttpViewController
Methods inherited from HttpViewController
__construct(),
_callActionMethod(),
_getPostData(),
_getPostDataCollection(),
_getQueryParameter(),
_getQueryParametersCollection(),
_getServerData(),
_render(),
_validatePageToken(),
getTemplateFile(),
proceed()
Methods used from ContentManagerContentNavigationTrait
_createContentNavigation(),
_createNewContentGroupId(),
_getAssets(),
_getProductsContentFiles(),
_getScriptPageFiles(),
_getTemplate(),
_getUpdateResponse(),
_insertContentData(),
_isFilemanagerAvailable(),
_prepareContentManagerGroupCheckData(),
_setExpertMode(),
_updateContentData()
Properties summary
protected
|
$userConfigurationService
|
|
protected
LanguageTextManager
|
$languageTextManager
|
|
protected
|
$languageProvider
|
|
protected
CI_DB_query_builder
|
$queryBuilder
|
|
protected
array
|
$fieldMap
|
#
[
'content_title',
'content_heading',
'content_text',
'contents_meta_title',
'contents_meta_keywords',
'contents_meta_description',
'url_rewrite',
'gm_robots_entry',
'gm_sitemap_entry',
'gm_priority',
'gm_changefreq',
'gm_link',
'gm_link_target',
'content_file',
'content_status',
'content_file',
'content_type'
]
|
protected
array
|
$switcherFields
|
#
[
'content_status',
'gm_robots_entry',
'gm_sitemap_entry'
]
|
protected
array
|
$typeMap
|
#
[
'content' => 'infopage',
'link' => 'linkpage',
'file' => 'scriptpage'
]
|
protected
|
$title
|
Properties inherited from HttpViewController
$assets,
$contentView,
$httpContextReader,
$httpResponseProcessor,
$postDataArray,
$queryParametersArray,
$serverDataArray