[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/vtlib/Vtiger/ -> ModuleBasic.php (summary)

(no description)

File Size: 447 lines (14 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 11 files
 vtlib/Vtiger/Event.php
 includes/runtime/Cache.php
 vtlib/Vtiger/Access.php
 vtlib/Vtiger/Filter.php
 vtlib/Vtiger/Block.php
 vtlib/Vtiger/Menu.php
 vtlib/Vtiger/Webservice.php
 vtlib/Vtiger/Profile.php
 vtlib/Vtiger/Field.php
 vtlib/Vtiger/Version.php
 vtlib/Vtiger/Link.php

Defines 1 class

Vtiger_ModuleBasic:: (27 methods):
  __construct()
  initialize()
  initialize2()
  __getUniqueId()
  __getNextSequence()
  __handleVtigerCoreSchemaChanges()
  __create()
  __update()
  __delete()
  __updateVersion()
  save()
  delete()
  initTables()
  setEntityIdentifier()
  unsetEntityIdentifier()
  deleteRelatedLists()
  deleteLinks()
  setDefaultSharing()
  allowSharing()
  disallowSharing()
  enableTools()
  disableTools()
  addBlock()
  addFilter()
  getFields()
  log()
  syncfile()


Class: Vtiger_ModuleBasic  - X-Ref

Provides API to work with vtiger CRM Module

__construct()   X-Ref
Constructor


initialize($valuemap)   X-Ref
Initialize this instance


initialize2()   X-Ref
Initialize more information of this instance


__getUniqueId()   X-Ref
Get unique id for this instance


__getNextSequence()   X-Ref
Get next sequence to use for this instance


__handleVtigerCoreSchemaChanges()   X-Ref
Initialize vtiger schema changes.


__create()   X-Ref
Create this module instance


__update()   X-Ref
Update this instance


__delete()   X-Ref
Delete this instance


__updateVersion($newversion)   X-Ref
Update module version information


save()   X-Ref
Save this instance


delete()   X-Ref
Delete this instance


initTables($basetable=false, $basetableid=false)   X-Ref
Initialize table required for the module

param: String Base table name (default modulename in lowercase)
param: String Base table column (default modulenameid in lowercase)

setEntityIdentifier($fieldInstance)   X-Ref
Set entity identifier field for this module

param: Vtiger_Field Instance of field to use

unsetEntityIdentifier()   X-Ref
Unset entity identifier information


deleteRelatedLists()   X-Ref
Delete related lists information


deleteLinks()   X-Ref
Delete links information


setDefaultSharing($permission_text='Public_ReadWriteDelete')   X-Ref
Configure default sharing access for the module

param: String Permission text should be one of ['Public_ReadWriteDelete', 'Public_ReadOnly', 'Public_ReadWrite', 'Private']

allowSharing()   X-Ref
Allow module sharing control


disallowSharing()   X-Ref
Disallow module sharing control


enableTools($tools)   X-Ref
Enable tools for this module

param: mixed String or Array with value ['Import', 'Export', 'Merge']

disableTools($tools)   X-Ref
Disable tools for this module

param: mixed String or Array with value ['Import', 'Export', 'Merge']

addBlock($blockInstance)   X-Ref
Add block to this module

param: Vtiger_Block Instance of block to add

addFilter($filterInstance)   X-Ref
Add filter to this module

param: Vtiger_Filter Instance of filter to add

getFields($blockInstance=false)   X-Ref
Get all the fields of the module or block

param: Vtiger_Block Instance of block to use to get fields, false to get all the block fields

log($message, $delimit=true)   X-Ref
Helper function to log messages

param: String Message to log
param: Boolean true appends linebreak, false to avoid it

syncfile()   X-Ref
Synchronize the menu information to flat file




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1