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

Class: Utils_AttachmentCommon

Source Location: /modules/Utils/Attachment/AttachmentCommon_0.php

Class Utils_AttachmentCommon

Class Overview

Use this module if you want to add attachments to some page.

Owner of note has always 3x(private,protected,public) write&read. Permission for group is set by methods allow_{private,protected,public}.

Located in /modules/Utils/Attachment/AttachmentCommon_0.php [line 16]

ModuleAcl
   |
   --ModulePrimitive
      |
      --ModuleCommon
         |
         --Utils_AttachmentCommon
Author(s): Information Tags:
Version:  1.0
Copyright:  Copyright © 2008, 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   add()  
static void   count()  
static void   persistent_mass_delete()   Example usage:
static void   search()  
static void   search_group()  

[ Top ]
Methods
static method add  [line 44]

  static void add( $group, $permission, $user, [ $note = null], [ $oryg = null], [ $file = null], [ $func = null], [ $args = null]  )

Parameters:
   $group: 
   $permission: 
   $user: 
   $note: 
   $oryg: 
   $file: 
   $func: 
   $args: 

API Tags:
Access:  public


[ Top ]
static method count  [line 57]

  static void count( [ $group = null], [ $group_starts_with = true]  )

Parameters:
   $group: 
   $group_starts_with: 

API Tags:
Access:  public


[ Top ]
static method persistent_mass_delete  [line 28]

  static void persistent_mass_delete( $group, [ $group_starts_with = true]  )

Example usage:

Utils_AttachmentCommon::persistent_mass_delete('CRM/Contact'); // deletes all entries located in CRM/Contact*** group

Parameters:
   $group: 
   $group_starts_with: 

API Tags:
Access:  public


[ Top ]
static method search  [line 83]

  static void search( $word  )

Parameters:
   $word: 

API Tags:
Access:  public


[ Top ]
static method search_group  [line 61]

  static void search_group( $group, $word, [ $view_func = false]  )

Parameters:
   $group: 
   $word: 
   $view_func: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 26 Dec 2008 21:38:14 -0500 by phpDocumentor 1.4.2