eZPublish  3.8
class/edit.php File Reference

Variables

if($http->hasPostVariable(
'DiscardButton')) if($http->
hasPostVariable(
'AddGroupButton')&&$http->
hasPostVariable(
'ContentClass_group')) if($http->
hasPostVariable(
'RemoveGroupButton')&&$http->
hasPostVariable(
'group_id_checked')) 
$attributes =& $class->fetchAttributes()
 
 $canStore = true
 
 $ClassID = null
 
 $ClassVersion = null
 
 $contentClassHasInput = true
 
if($contentClassHasInput) if($requireFixup) $cur_datatype = 'ezstring'
 
 $customAction = false
 
 $customActionAttributeID = null
 
 $datatypes = eZDataType::registeredDataTypes()
 
if($http->hasPostVariable(
'RemoveButton')) 
$datatypeValidation = array()
 
if($customAction) $date_time = time()
 
 $errorResponseGroupID = ( !is_numeric( $GroupID ) ) ? '<Empty ID>' : $GroupID
 
 $GroupID = null
 
 $GroupName = null
 
switch($Params['FunctionName']) $http =& eZHttpTool::instance()
 
foreach(array_keys($attributes)
as $key) 
$identifier = $class->attribute( 'identifier' )
 
 $Module =& $Params['Module']
 
 $requireFixup = false
 
 $res =& eZTemplateDesignResource::instance()
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( 'design:class/edit.tpl' )
 
 $Result ['path']
 
if($http->hasPostVariable(
'CustomActionButton')) 
$storeActions
 
 $tpl =& templateInit()
 
 $trans =& eZCharTransform::instance()
 
 $unvalidatedAttributes = array()
 
 $user =& eZUser::currentUser()
 
 $user_id = $user->attribute( 'contentobject_id' )
 
 $validation
 
 $validationRequired = false
 
if($http->hasPostVariable(
'CancelConflictButton')) if(is_numeric($ClassID)) 
else
 
 foreach ($storeActions as $storeAction)
 

Variable Documentation

if (!$http->hasSessionVariable( 'CanStoreTicket')) $attributes =& $class->fetchAttributes()

Referenced by eZShopOperationCollection\addToBasket(), eZContentClass\adjustAttributePlacements(), eZContentCacheManager\appendKeywordNodeIDs(), eZInformationCollection\attributeHideList(), eZTemplateSectionIterator\attributes(), eZRSSExportItem\classAttributes(), eZRSSImport\classAttributes(), eZContentClassPackageHandler\classDOMTree(), eZContentObjectVersion\contentObjectAttributes(), eZSimplifiedXMLInputParser\convertCustomAttributes(), eZDOMDocument\create_element(), eZDOMDocument\createElementCDATANode(), eZDOMDocument\createElementNode(), eZDOMDocument\createElementTextNode(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZContentClass\dataMap(), eZContentClass\fetchAttributes(), eZTemplateOptimizer\fetchClassDeclaration(), eZObjectRelationListType\fetchObjectAttributeHTTPInput(), eZContentObject\fillNodeListAttributes(), eZObjectRelationListType\fixupObjectAttributeHTTPInput(), generateNodeViewTemplate(), generateObjectViewTemplate(), eZShopOperationCollection\handleUserCountry(), eZContentClass\instantiate(), eZObjectRelationType\metaData(), eZObjectRelationListType\metaData(), eZContentObjectAttribute\metaDataArray(), eZContentObjectVersion\nonTranslatableAttributesToUpdate(), eZSimplifiedXMLEditOutput\outputEmbed(), eZSimplifiedXMLEditOutput\outputHeader(), eZSimplifiedXMLEditOutput\outputLink(), eZSimplifiedXMLEditOutput\outputObject(), eZSimplifiedXMLEditOutput\outputParagraph(), eZSimplifiedXMLEditOutput\outputTag(), eZXMLInputParser\parseAttributes(), eZImageAliasHandler\parseInformationNode(), eZXMLInputParser\parseTag(), eZXMLInputParser\processAttributesBySchema(), eZShopFunctions\productTypeByObject(), eZContentClass\removableInformation(), eZContentObjectTreeNode\removeSubtrees(), eZContentObject\removeTranslation(), eZContentObject\rename(), eZContentObjectVersion\serialize(), eZXMLInputParser\setAttributes(), eZContentObject\setContentObjectAttributes(), eZContentClass\setVersion(), eZContentClass\store(), eZContentClass\storeDefined(), eZObjectRelationListType\storeObjectAttribute(), eZContentOperationCollection\updateNontranslatableAttributes(), eZBasket\updatePrices(), eZObjectRelationListType\validateObjectAttributeHTTPInput(), eZProductCollectionItem\verify(), and eZXMLInputParser\wordMatchSupport().

$canStore = true
$ClassID = null
$ClassVersion = null
$contentClassHasInput = true
if ($contentClassHasInput) if ($requireFixup) $cur_datatype = 'ezstring'
if ($http->hasPostVariable( 'RemoveButton')) $datatypeValidation = array()
$errorResponseGroupID = ( !is_numeric( $GroupID ) ) ? '<Empty ID>' : $GroupID
$GroupID = null
$GroupName = null
switch ($Params['FunctionName']) $http =& eZHttpTool::instance()
$identifier = $class->attribute( 'identifier' )

Referenced by eZCodeMapper\appendDirectMapping(), eZPolicy\appendLimitation(), eZINI\appendOverrideDir(), eZCodeMapper\appendReplaceMapping(), eZCodeMapper\appendTransposeMapping(), eZSearchEngine\buildPhraseSqlQueryPart(), eZSearchEngine\buildSearchPartArray(), eZSearchEngine\buildSearchPartArrayForPhrases(), eZSearchEngine\buildSearchPartArrayForWords(), eZSearchEngine\buildSqlPartForWord(), eZPDFTable\callStartPageCounter(), eZContentObjectTreeNode\classAttributeIDByIdentifier(), eZContentObjectTreeNode\classIDByIdentifier(), eZPolicyLimitation\create(), eZTemplateNodeTool\createIdentifierElement(), eZPolicyLimitation\createNew(), eZContentObjectVersion\dataMap(), eZStepSiteDetails\display(), eZCodeMapper\expandInheritance(), eZAppendWarningItem(), eZBinaryFileHandler\eZBinaryFileHandler(), eZContentUploadHandler\eZContentUploadHandler(), eZForwardCompressionHandler\eZForwardCompressionHandler(), eZPDFTable\ezInsertBlockFrame(), eZPDFTable\ezInsertFrame(), eZStepInstaller\eZStepInstaller(), eZPDFTable\ezWhatPageNumber(), eZContentClass\fetchAttributeByIdentifier(), eZPolicyLimitation\fetchByIdentifier(), eZContentObjectAttribute\fetchByIdentifier(), eZContentClass\fetchByIdentifier(), eZContentObject\fetchDataMap(), eZNavigationPart\fetchList(), eZContentFunctionCollection\fetchNavigationPart(), eZContentFunctionCollection\fetchObjectByAttribute(), eZNavigationPart\fetchPartByIdentifier(), eZContentUpload\findHTTPFileAttribute(), eZContentUpload\findRegularFileAttribute(), eZContentUpload\findStringAttribute(), eZCodeMapper\generateMappingCode(), generateNodeViewTemplate(), generateObjectViewTemplate(), eZCodeMapper\generateSimpleMappingTable(), importRSSItem(), eZSearchEngine\indexWords(), eZStepSiteDetails\init(), eZContentClass\initializeCopy(), eZArchiveHandler\instance(), eZBinaryFileHandler\instance(), eZFileHandler\instance(), eZStepInstaller\isKickstartAllowed(), eZCodeMapper\mappingTable(), eZPDF\modify(), eZCodeMapper\parseTransformationFile(), eZTemplateElementParser\parseVariableTag(), eZUser\passwordHashTypeID(), eZExtension\prependExtensionSiteAccesses(), eZINI\prependOverrideDir(), eZShopFunctions\priceAttributeIdentifier(), eZSearchEngine\searchAttributeByIdentifier(), eZSearchEngine\searchAttributeByIdentifierRange(), eZSearchEngine\searchAttributeIntegersByIdentifier(), eZIdentifierType\serializeContentClassAttribute(), eZContentObjectAttribute\setContentClassAttributeIdentifier(), eZLintSchema\shortenIdentifier(), eZContentClass\storeDefined(), eZIdentifierType\unserializeContentClassAttribute(), and eZTemplateElementParser\variableEndPos().

$Module =& $Params['Module']

Referenced by eZDBFileHandlerMysqlBackend\_copy(), eZDBFileHandlerPgsqlBackend\_copy(), eZDBFileHandlerMysqlBackend\_delete(), eZDBFileHandlerPgsqlBackend\_deleteByDirList(), eZDBFileHandlerMysqlBackend\_deleteByDirList(), eZDBFileHandlerPgsqlBackend\_deleteByLike(), eZDBFileHandlerMysqlBackend\_deleteByLike(), eZDBFileHandlerPgsqlBackend\_deleteByRegex(), eZDBFileHandlerMysqlBackend\_deleteByRegex(), eZDBFileHandlerPgsqlBackend\_deleteByWildcard(), eZDBFileHandlerMysqlBackend\_deleteByWildcard(), eZDBFileHandlerPgsqlBackend\_exists(), eZDBFileHandlerMysqlBackend\_fetch(), eZDBFileHandlerMysqlBackend\_fetchContents(), eZDBFileHandlerPgsqlBackend\_fetchMetadata(), eZDBFileHandlerMysqlBackend\_fetchMetadata(), eZDBFileHandlerMysqlBackend\_passThrough(), eZDBFileHandlerMysqlBackend\_store(), eZDBFileHandlerMysqlBackend\_storeContents(), eZTemplateFileResource\cachedTemplateTree(), eZTemplateFileResource\compileTemplate(), contentPDFGenerate(), createTableStructure(), eZUserType\deleteStoredObjectAttribute(), eZKeywordType\deleteStoredObjectAttribute(), eZXMLTextType\deleteStoredObjectAttribute(), eZSetupTestDirectoryPermissions(), eZTemplate\eZTemplate(), eZInformationCollection\fetchCountList(), eZNodeviewfunctions\generateNodeView(), eZContentCacheManager\generateObjectViewCache(), generatePDF(), getTableType(), eZSubTreeHandler\handlePublishEvent(), eZTemplateFileResource\hasCachedProcessTree(), eZTemplate\loadURIRoot(), Cpdf\o_action(), Cpdf\o_annotation(), Cpdf\o_catalog(), Cpdf\o_contents(), Cpdf\o_destination(), Cpdf\o_encryption(), Cpdf\o_font(), Cpdf\o_fontDescriptor(), Cpdf\o_fontEncoding(), Cpdf\o_function(), Cpdf\o_image(), Cpdf\o_info(), Cpdf\o_outlines(), Cpdf\o_page(), Cpdf\o_pages(), Cpdf\o_pattern(), Cpdf\o_procset(), Cpdf\o_shading(), Cpdf\o_viewerPreferences(), eZPDFXMLOutput\pdf(), eZObjectForwarder\process(), eZTemplate\registerResource(), eZImageAliasHandler\removeAliases(), eZPDFXMLOutput\renderPDFSection(), eZPDFXMLOutput\renderPDFTag(), eZXHTMLXMLOutput\renderXHTMLParagraph(), eZXHTMLXMLOutput\renderXHTMLTag(), eZTemplate\resourceFor(), eZContentCache\restore(), eZTemplateFileResource\setCachedTemplateTree(), eZTemplateTreeCache\setCachedTree(), eZMail\stripEmail(), eZURLAlias\totalCount(), eZTemplate\unregisterResource(), and eZXHTMLXMLOutput\xhtml().

$Result = array()
$Result['content'] =& $tpl->fetch( 'design:class/edit.tpl' )
$Result['path']
Initial value:
= array( array( 'url' => '/class/edit/',
'text' => ezi18n( 'kernel/class', 'Class edit' ) ) )
if ($http->hasPostVariable( 'CustomActionButton')) $storeActions
Initial value:
= array( 'MoveUp',
'MoveDown',
'StoreButton',
'ApplyButton',
'NewButton',
'CustomActionButton')
$tpl =& templateInit()
$unvalidatedAttributes = array()
$user =& eZUser::currentUser()
$validation
Initial value:
= array( 'processed' => false,
'groups' => array(),
'attributes' => array(),
'class_errors' => array() )

Referenced by checkNodeAssignments(), checkNodeMovements(), and eZNodeviewfunctions\generateNodeView().

$validationRequired = false
if ($http->hasSessionVariable( 'FromGroupID')) else
Initial value:
{
include_once( 'kernel/classes/datatypes/ezuser/ezuser.php' )
foreach($storeActions as $storeAction)