[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Documents/models/ -> Folder.php (summary)

(no description)

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

Defines 1 class

Documents_Folder_Model:: (12 methods):
  checkDuplicate()
  hasDocuments()
  save()
  delete()
  getInstance()
  getInstanceById()
  getInstanceByArray()
  getDeleteUrl()
  getId()
  getName()
  getDescription()
  getInfoArray()


Class: Documents_Folder_Model  - X-Ref

checkDuplicate()   X-Ref
Function returns duplicate record status of the module

return: true if duplicate records exists else false

hasDocuments()   X-Ref
Function returns whether documents are exist or not in that folder

return: true if exists else false

save()   X-Ref
Function to add the new folder

return: Documents_Folder_Model

delete()   X-Ref
Function to delete existing folder

return: Documents_Folder_Model

getInstance()   X-Ref
Function return an instance of Folder Model

return: Documents_Folder_Model

getInstanceById($folderId)   X-Ref
Function returns an instance of Folder Model

param: foldername
return: Documents_Folder_Model

getInstanceByArray($row)   X-Ref
Function returns an instance of Folder Model

param: <Array> row
return: Documents_Folder_Model

getDeleteUrl()   X-Ref
Function returns Folder's Delete url

return: <String> - Delete Url

getId()   X-Ref
Function to get the id of the folder

return: <Number>

getName()   X-Ref
Function to get the name of the folder

return: <String>

getDescription()   X-Ref
Function to get the description of the folder

return: <String>

getInfoArray()   X-Ref
Function to get info array while saving a folder

return: Array  info array



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