One can override the following variables :
LOG_LEVEL : The log level, from 0 to 5.
LOG_NONE = 0 => No log output LOG_CRITICAL = 1 => Critical problems (data consistency, module integrity, ...) LOG_ERROR = 2 => Error (runtime exceptions, ...) LOG_WARNING = 3 => Warning (non-blocking exceptions, ...) LOG_NOTICE = 4 => Notices (Special conditions, ...) LOG_DEBUG = 5 => Debug (Debugging information)
LOG_PROCESSOR : A dictionnary holding, for each key, the data processor.
FormatStack(stack) => string
Return a 'loggable' version of the stack trace
Log.FormatStack
Log(level, *args) => Pretty-prints data on the console with additional information.
Log.Log
logFile : writes data to the LOG_OUTPUT file.
Log.logFile
logZLog : writes data though Zope's logging facility
Log.logZLog
$$
PABlockEditor contains all methods to build template from a block Model
PABlockEditor.PABlockEditor
Methods: (buildStyleClass, buildStyleListFromString, buildTemplates)
- method buildStyleClass (style_class, attrs) build style class. Return text to integrate in
PABlockEditor.PABlockEditor.buildStyleClass
PABlockEditor.PABlockEditor.buildStyleListFromString
PABlockEditor.PABlockEditor.buildTemplates
$$
PABlockTitle is designed for title block (title, title_style)
PABlockImage.PABlockImage
Methods: (__init__, buildTemplateContent, getImage, getImageStyle, getImageType, isImageStretched, manage_editPABlockImage)
- method __init__ (id, title='')
PABlockImage.PABlockImage.__init__
- method buildTemplateContent () Build template code from image block. Return tuple (style, body)
PABlockImage.PABlockImage.buildTemplateContent
- method getImage () Get image.
PABlockImage.PABlockImage.getImage
- method getImageStyle () Get image style.
PABlockImage.PABlockImage.getImageStyle
- method getImageType () Get image type.
PABlockImage.PABlockImage.getImageType
- method isImageStretched () Is image stretched ?
PABlockImage.PABlockImage.isImageStretched
PABlockImage.PABlockImage.manage_editPABlockImage
$$
PABlockLevel contains main properties of a block level (top, left, width, height). Each properties units are blocks.
PABlockLevel.PABlockLevel
Methods: (__init__, getDimension, getHeight, getLeft, getRelativePosition, getTitle, getTop, getType, getWidth, manage_editPABlockLevel)
- method __init__ (id, title='')
PABlockLevel.PABlockLevel.__init__
- method getDimension () Get dimension (width, height)
PABlockLevel.PABlockLevel.getDimension
- method getHeight () Get height in block.
PABlockLevel.PABlockLevel.getHeight
- method getLeft () Get left in block.
PABlockLevel.PABlockLevel.getLeft
- method getRelativePosition () Get relative position (top, left)
PABlockLevel.PABlockLevel.getRelativePosition
- method getTitle () Get title.
PABlockLevel.PABlockLevel.getTitle
- method getTop () Get top in block.
PABlockLevel.PABlockLevel.getTop
- method getType () Get type of block
PABlockLevel.PABlockLevel.getType
- method getWidth () Get width in block.
PABlockLevel.PABlockLevel.getWidth
PABlockLevel.PABlockLevel.manage_editPABlockLevel
$$
PABlockModel is the basic content containing the PloneArticle Model definition. PABlockModel contains blocks.
PABlockModel.PABlockModel
Methods: (__init__, addBlock, buildPABlockModel, buildTemplateContent, getBlock, getBlockHeight, getBlockSpacing, getBlockWidth, getBlocks, getDescription, getDimension, getHeight, getImage, getLeft, getPABlockModel, getTemplateStructure, getTitle, getTop, getWidth, manage_editPABlockModel)
- method __init__ (id, title='') __init__(self, id, title='')
PABlockModel.PABlockModel.__init__
- method addBlock (block_id, block_class) Add block to a model
PABlockModel.PABlockModel.addBlock
- method buildPABlockModel (REQUEST=None) Build model template.
PABlockModel.PABlockModel.buildPABlockModel
- method buildTemplateContent () Build template code from model
PABlockModel.PABlockModel.buildTemplateContent
- method getBlock (block_id) Get a block from model
PABlockModel.PABlockModel.getBlock
- method getBlockHeight () Get block height in pixels.
PABlockModel.PABlockModel.getBlockHeight
- method getBlockSpacing () Get block spacing in pixels.
PABlockModel.PABlockModel.getBlockSpacing
- method getBlockWidth () Get block width in pixels.
PABlockModel.PABlockModel.getBlockWidth
- method getBlocks () Get blocks from model
PABlockModel.PABlockModel.getBlocks
- method getDescription () Get description. Used in template description.
PABlockModel.PABlockModel.getDescription
- method getDimension () Get dimension (width, height)
PABlockModel.PABlockModel.getDimension
- method getHeight () Get height in block.
PABlockModel.PABlockModel.getHeight
- method getImage () Get image. Used in template description.
PABlockModel.PABlockModel.getImage
- method getLeft () Get left in block.
PABlockModel.PABlockModel.getLeft
- method getPABlockModel () Get the model object himself.
PABlockModel.PABlockModel.getPABlockModel
PABlockModel.PABlockModel.getTemplateStructure
- method getTitle () Get title.
PABlockModel.PABlockModel.getTitle
- method getTop () Get top in block.
PABlockModel.PABlockModel.getTop
- method getWidth () Get width in block.
PABlockModel.PABlockModel.getWidth
PABlockModel.PABlockModel.manage_editPABlockModel
$$
PABlockTitle is designed for title block (title, title_style)
PABlockTitle.PABlockTitle
Methods: (__init__, buildTemplateContent, getTitleStyle, getTitleType, manage_editPABlockTitle)
- method __init__ (id, title='')
PABlockTitle.PABlockTitle.__init__
- method buildTemplateContent () Build template code from title block. Return tuple (style, body)
PABlockTitle.PABlockTitle.buildTemplateContent
- method getTitleStyle () Get style for title (CSS).
PABlockTitle.PABlockTitle.getTitleStyle
- method getTitleType () Get type for title.
PABlockTitle.PABlockTitle.getTitleType
PABlockTitle.PABlockTitle.manage_editPABlockTitle
$$
PABlockTitleContent is designed for title and content block (title, title_style, content, content_style)
PABlockTitleContent.PABlockTitleContent
Methods: (__init__, buildTemplateContent, getContent, getContentStyle, getContentType, manage_editPABlockTitleContent)
- method __init__ (id, title='')
PABlockTitleContent.PABlockTitleContent.__init__
PABlockTitleContent.PABlockTitleContent.buildTemplateContent
- method getContent () Get content
PABlockTitleContent.PABlockTitleContent.getContent
- method getContentStyle () Get style for content (CSS).
PABlockTitleContent.PABlockTitleContent.getContentStyle
- method getContentType () Get content type
PABlockTitleContent.PABlockTitleContent.getContentType
PABlockTitleContent.PABlockTitleContent.manage_editPABlockTitleContent
The tool that handles subscription and mailing
PAModelTool.PAModelTool
Methods: (addModel, deleteModels, getBlockTypes, getContentTypeDisplayList, getImageTypeDisplayList, getModel, getModelIds, getModels, getPAModelTool, getTitleTypeDisplayList)
- method addModel (model_id) Add model
PAModelTool.PAModelTool.addModel
- method deleteModels (ids=[]) Delete models
PAModelTool.PAModelTool.deleteModels
- method getBlockTypes () Return all blocks that a model can contain
PAModelTool.PAModelTool.getBlockTypes
- method getContentTypeDisplayList (block_class) Return content type display list
PAModelTool.PAModelTool.getContentTypeDisplayList
- method getImageTypeDisplayList (block_class) Return image type display list
PAModelTool.PAModelTool.getImageTypeDisplayList
- method getModel (model_id) Get model
PAModelTool.PAModelTool.getModel
- method getModelIds () Get model ids
PAModelTool.PAModelTool.getModelIds
- method getModels () Get models
PAModelTool.PAModelTool.getModels
- method getPAModelTool () Get PloneArticleModelTool
PAModelTool.PAModelTool.getPAModelTool
- method getTitleTypeDisplayList (block_class) Return title type display list
PAModelTool.PAModelTool.getTitleTypeDisplayList
$Id: __init__.py,v 1.5 2004/05/27 10:50:54 clebeaupin Exp $
Plone Article Model Editor Product
Created by Doc-Tool V0.9.1 on Mon Feb 21 17:52:48 2005