[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Products/models/ -> Relation.php (summary)

(no description)

File Size: 130 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Products_Relation_Model:: (6 methods):
  getQuery()
  deleteRelation()
  deleteProductToProductRelation()
  isDeletable()
  isSubProduct()
  addListPrice()


Class: Products_Relation_Model  - X-Ref

getQuery($recordModel, $actions=false)   X-Ref
Function returns the Query for the relationhips

param: <Vtiger_Record_Model> $recordModel
param: type $actions
return: <String>

deleteRelation($sourceRecordId, $relatedRecordId)   X-Ref
Function that deletes PriceBooks related records information

param: <Integer> $sourceRecordId - Product/Service Id
param: <Integer> $relatedRecordId - Related Record Id

deleteProductToProductRelation($sourceRecordId, $relatedRecordId)   X-Ref
Function to delete the product to product relation(product bundles)

param: type $sourceRecordId
param: type $relatedRecordId true / false
return: <boolean>

isDeletable()   X-Ref
Function which will specify whether the relation is deletable

return: <Boolean>

isSubProduct($subProductId)   X-Ref
No description

addListPrice($sourceRecordId, $destinationRecordId, $listPrice)   X-Ref
Function to add Products/Services-PriceBooks Relation

param: <Integer> $sourceRecordId
param: <Integer> $destinationRecordId
param: <Integer> $listPrice



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