\Groovel\Cmsgroovel\Http\Controllers\groovel\admin\contentsGroovelContentFormController

Manage contents Contents is a set of fields value define by the object ContentTypes This class parses and makes association with fields value from content and fields definition defined in ContentTypes Each content is derivated as many contentTranslation depends on how many languages you have translated in.

ex one contentTranslation for US language associated to one content. The core content is serialized as a blob , see contentTranslation Table ,field content

Summary

Methods
Properties
Constants
validateForm()
processForm()
checkToken()
checkRefererStatus()
checkTagsRulesStatus()
checkPOSTStatus()
__construct()
makeValidation()
init()
jsonResponse()
No public properties found
No constants found
No protected methods found
$contentManager
$contentTypeManager
N/A
showContent()
viewCode()
addContent()
deleteContent()
updateContent()
editContent()
listAllContentType()
view_update()
translateContent()
$FILES
N/A

Properties

$contentManager

$contentManager : 

Type

$contentTypeManager

$contentTypeManager : 

Type

$FILES

$FILES : 

Type

Methods

validateForm()

validateForm(  $params) 

Parameters

$params

processForm()

processForm() 

checkToken()

checkToken() 

checkRefererStatus()

checkRefererStatus(  $uriReferer) 

Parameters

$uriReferer

checkTagsRulesStatus()

checkTagsRulesStatus(  $string) 

Parameters

$string

checkPOSTStatus()

checkPOSTStatus() 

makeValidation()

makeValidation(  $params) 

Parameters

$params

init()

init() 

jsonResponse()

jsonResponse(  $param,   $print = false,   $header = true,   $error = false) 

Parameters

$param
$print
$header
$error

showContent()

showContent(  $params) 

Parameters

$params

viewCode()

viewCode() 

addContent()

addContent() 

deleteContent()

deleteContent() 

updateContent()

updateContent() 

editContent()

editContent(  $id = null) 

Parameters

$id

listAllContentType()

listAllContentType() 

view_update()

view_update() 

translateContent()

translateContent()