Back to index

plone3  3.1.7
Public Member Functions
plone.app.kss.macro_replacer.MacroView Class Reference
Inheritance diagram for plone.app.kss.macro_replacer.MacroView:
Inheritance graph
[legend]
Collaboration diagram for plone.app.kss.macro_replacer.MacroView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def replaceInnerByMacro
def replaceByMacro
def replaceMacro

Detailed Description

Definition at line 8 of file macro_replacer.py.


Member Function Documentation

def plone.app.kss.macro_replacer.MacroView.replaceByMacro (   self,
  selector,
  macropath 
)

Definition at line 21 of file macro_replacer.py.

00021 
00022     def replaceByMacro(self, selector, macropath):
00023         content = self.macroContent(macropath)
00024         self.getCommandSet('core').replaceHTML(selector, content)
00025         return self.render()

def plone.app.kss.macro_replacer.MacroView.replaceInnerByMacro (   self,
  selector,
  macropath 
)

Definition at line 16 of file macro_replacer.py.

00016 
00017     def replaceInnerByMacro(self, selector, macropath):
00018         content = self.macroContent(macropath)
00019         self.getCommandSet('core').replaceInnerHTML(selector, content)
00020         return self.render()

Here is the caller graph for this function:

def plone.app.kss.macro_replacer.MacroView.replaceMacro (   self,
  selector,
  macropath 
)

Definition at line 26 of file macro_replacer.py.

00026 
00027     def replaceMacro(self, selector, macropath):
00028         import warnings, textwrap
00029         warnings.warn(textwrap.dedent('''\
00030             The usage of the server action replaceMacro is deprecated''' 
00031         ), DeprecationWarning, 2)
00032         return self.replaceInnerByMacro(selector, macropath)

Here is the call graph for this function:


The documentation for this class was generated from the following file: