[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 227 lines (7 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 2 files
 includes/runtime/Cache.php
 vtlib/Vtiger/Utils.php

Defines 1 class

Vtiger_Block:: (14 methods):
  __construct()
  __getUniqueId()
  __getNextSequence()
  initialize()
  __create()
  __update()
  __delete()
  save()
  delete()
  addField()
  log()
  getInstance()
  getAllForModule()
  deleteForModule()


Class: Vtiger_Block  - X-Ref

Provides API to work with vtiger CRM Module Blocks

__construct()   X-Ref
Constructor


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


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


initialize($valuemap, $moduleInstance=false)   X-Ref
Initialize this block instance

param: Array Map of column name and value
param: Vtiger_Module Instance of module to which this block is associated

__create($moduleInstance)   X-Ref
Create vtiger CRM block


__update()   X-Ref
Update vtiger CRM block


__delete()   X-Ref
Delete this instance


save($moduleInstance=false)   X-Ref
Save this block instance

param: Vtiger_Module Instance of the module to which this block is associated

delete($recursive=true)   X-Ref
Delete block instance

param: Boolean True to delete associated fields, False to avoid it

addField($fieldInstance)   X-Ref
Add field to this block

param: Vtiger_Field Instance of field to add to this block.
return: Reference to this block instance

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

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

getInstance($value, $moduleInstance=false)   X-Ref
Get instance of block

param: mixed block id or block label
param: Vtiger_Module Instance of the module if block label is passed

getAllForModule($moduleInstance)   X-Ref
Get all block instances associated with the module

param: Vtiger_Module Instance of the module

deleteForModule($moduleInstance, $recursive=true)   X-Ref
Delete all blocks associated with module

param: Vtiger_Module Instnace of module to use
param: Boolean true to delete associated fields, false otherwise



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