phpDocumentor epesi-utils
comment
[ class tree: epesi-utils ] [ index: epesi-utils ] [ all elements ]

Class: Utils_CommentCommon

Source Location: /modules/Utils/Comment/CommentCommon_0.php

Class Utils_CommentCommon

Class Overview

Located in /modules/Utils/Comment/CommentCommon_0.php [line 12]

ModuleAcl
   |
   --ModulePrimitive
      |
      --ModuleCommon
         |
         --Utils_CommentCommon
Author(s): Information Tags:
Version:  1.0
Copyright:  Copyright © 2006, Telaxus LLC
License:  MIT

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ModuleCommon

ModuleCommon::Instance()
Singleton.

Inherited From ModulePrimitive

ModulePrimitive::__construct()
ModulePrimitive::check_access()
Checks access to function which name is passed as first parameter.
ModulePrimitive::create_data_dir()
Creates default data directory for module. Typical usage: in module installation
ModulePrimitive::get_data_dir()
Returns path to the default data directory for module calling this method.
ModulePrimitive::get_module_dir()
Returns path to the module directory.
ModulePrimitive::get_type()
Returns name(type) of module that called this function.
ModulePrimitive::get_type_with_bt()
ModulePrimitive::remove_data_dir()
Removes default data directory of a module. Typical usage: in module uninstallation

Inherited From ModuleAcl

ModuleAcl::acl_check()
ModuleAcl::add_aco()
ModuleAcl::del_aco()
ModuleAcl::get_type()

[ Top ]
Method Summary
static void   delete_post()   Deletes comment by comment id.
static void   delete_posts_by_topic()   Deletes comments by comment group id.

[ Top ]
Methods
static method delete_post  [line 19]

  static void delete_post( integer $id  )

Deletes comment by comment id.

All replies to this post are also deleted.

Parameters:
integer   $id:  post id

API Tags:
Access:  public


[ Top ]
static method delete_posts_by_topic  [line 34]

  static void delete_posts_by_topic( string $topic  )

Deletes comments by comment group id.

Parameters:
string   $topic:  comment group id

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 26 Dec 2008 21:39:52 -0500 by phpDocumentor 1.4.2