Logo Search packages:      
Sourcecode: zope-coreblog version File versions

def zope-coreblog-1.0::COREBlog::COREBlog::addCategory (   self,
  name,
  description,
  icon_path = "",
  sec = -1 
)

Add a Category

Definition at line 1209 of file COREBlog.py.

01209                                                                 :
        """Add a Category"""
        new_id = self.getNewCategoryID()
        obj = Category(new_id,name,description,icon_path,sec)
        obj.__of__(self)
        self.setCategory(new_id,obj)
        return new_id


    security.declareProtected(ManageCOREBlog, 'manage_addCategory')
    def manage_addCategory(self,name,description,icon_path="",REQUEST=None):


Generated by  Doxygen 1.6.0   Back to index