[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Vtiger/models/ -> Link.php (summary)

(no description)

File Size: 294 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 vtlib/Vtiger/Link.php

Defines 1 class

Vtiger_Link_Model:: (18 methods):
  get()
  set()
  getUrl()
  getLabel()
  getType()
  getIcon()
  isIconExists()
  getIconPath()
  getId()
  addChildLink()
  getChildLinks()
  hasChild()
  isPageLoadLink()
  convertToNativeLink()
  getInstanceFromValues()
  getInstanceFromLinkObject()
  getAllByType()
  getRelatedModuleName()


Class: Vtiger_Link_Model  - X-Ref

Vtiger Link Model Class

get($propertyName)   X-Ref
Function to get the value of a given property

param: <String> $propertyName
return: <Object>

set($propertyName, $propertyValue)   X-Ref
Function to set the value of a given property

param: <String> $propertyName
param: <Object> $propertyValue
return: Vtiger_Link_Model instance

getUrl()   X-Ref
Function to get the link url

return: <String>

getLabel()   X-Ref
Function to get the link label

return: <String>

getType()   X-Ref
Function to get the link type

return: <String>

getIcon()   X-Ref
Function to get the link icon name

return: <String>

isIconExists()   X-Ref
Function to check whether link has icon or not

return: <Boolean> true/false

getIconPath()   X-Ref
Function to retrieve the icon path for the link icon

return: <String/Boolean> - returns image path if icon exits

getId()   X-Ref
Function to get the link id

return: <Number>

addChildLink(Vtiger_Link_Model $link)   X-Ref
Function to Add link to the child link list

param: Vtiger_Link_Model $link - link model

getChildLinks()   X-Ref
Function to get all the child links


hasChild()   X-Ref
Function to check whether the link model has any child links

return: <Boolean> true/false

isPageLoadLink()   X-Ref
No description

convertToNativeLink()   X-Ref
No description

getInstanceFromValues($valueMap)   X-Ref
Function to get the instance of Vtiger Link Model from the given array of key-value mapping

param: <Array> $valueMap
return: Vtiger_Link_Model instance

getInstanceFromLinkObject(Vtiger_Link $linkObj)   X-Ref
Function to get the instance of Vtiger Link Model from a given Vtiger_Link object

param: Vtiger_Link $linkObj
return: Vtiger_Link_Model instance

getAllByType($tabid, $type = false, $parameters = false)   X-Ref
Function to get all the Vtiger Link Models for a module of the given list of link types

param: <Number> $tabid
param: <Array> $type
param: <Array> $parameters
return: <Array> - List of Vtiger_Link_Model instances

getRelatedModuleName()   X-Ref
Function to get the relatedModuleName

return: <String>



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