[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 285 lines (9 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 3 files
 vtlib/Vtiger/LinkData.php
 vtlib/Vtiger/Utils/StringTemplate.php
 vtlib/Vtiger/Utils.php

Defines 1 class

Vtiger_Link:: (13 methods):
  __construct()
  initialize()
  module()
  __getUniqueId()
  __initSchema()
  addLink()
  deleteLink()
  deleteAll()
  getAll()
  getAllByType()
  getAllForExport()
  log()
  isAdmin()


Class: Vtiger_Link  - X-Ref

Provides API to handle custom links

__construct()   X-Ref
Constructor


initialize($valuemap)   X-Ref
Initialize this instance.


module()   X-Ref
Get module name.


__getUniqueId()   X-Ref
Get unique id for the insertion


__initSchema()   X-Ref
Initialize the schema (tables)


addLink($tabid, $type, $label, $url, $iconpath='',$sequence=0, $handlerInfo=null)   X-Ref
Add link given module

param: Integer Module ID
param: String Link Type (like DETAILVIEW). Useful for grouping based on pages.
param: String Label to display
param: String HREF value or URL to use for the link
param: String ICON to use on the display
param: Integer Order or sequence of displaying the link

deleteLink($tabid, $type, $label, $url=false)   X-Ref
Delete link of the module

param: Integer Module ID
param: String Link Type (like DETAILVIEW). Useful for grouping based on pages.
param: String Display label
param: String URL of link to lookup while deleting

deleteAll($tabid)   X-Ref
Delete all links related to module

param: Integer Module ID.

getAll($tabid)   X-Ref
Get all the links related to module

param: Integer Module ID.

getAllByType($tabid, $type=false, $parameters=false)   X-Ref
Get all the link related to module based on type

param: Integer Module ID
param: mixed String or List of types to select
param: Map Key-Value pair to use for formating the link url

getAllForExport($tabid)   X-Ref
Extract the links of module for export.


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

isAdmin($linkData)   X-Ref
Checks whether the user is admin or not

param: Vtiger_LinkData $linkData
return: Boolean



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