Lines Matching refs:self
45 def __init__(self, instanceName): argument
46 self.InstanceName = instanceName
47 self.BasePath = '/fckeditor/'
48 self.Width = '100%'
49 self.Height = '200'
50 self.ToolbarSet = 'Default'
51 self.Value = '';
53 self.Config = {}
55 def Create(self): argument
56 return self.CreateHtml()
58 def CreateHtml(self): argument
59 HtmlValue = escape(self.Value)
62 if (self.IsCompatible()):
65 self.BasePath,
67 self.InstanceName
69 if (self.ToolbarSet is not None):
70 Link += "&ToolBar=%s" % self.ToolbarSet
74 self.InstanceName,
75 self.InstanceName,
81 self.InstanceName,
82 self.GetConfigFieldString()
87 self.InstanceName,
89 self.Width,
90 self.Height
93 if (self.Width.find("%%") < 0):
94 WidthCSS = "%spx" % self.Width
96 WidthCSS = self.Width
97 if (self.Height.find("%%") < 0):
98 HeightCSS = "%spx" % self.Height
100 HeightCSS = self.Height
103 self.InstanceName,
111 def IsCompatible(self): argument
143 def GetConfigFieldString(self): argument
146 for sKey in self.Config.keys():
147 sValue = self.Config[sKey]