| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 291 lines (10 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 2 files vtlib/Vtiger/Version.php vtlib/Vtiger/Utils.php |
Vtiger_Filter:: (16 methods):
__construct()
__getUniqueId()
initialize()
__create()
__update()
__delete()
save()
delete()
__getColumnValue()
addField()
addRule()
translateComparator()
log()
getInstance()
getAllForModule()
deleteForModule()
Class: Vtiger_Filter - X-Ref
Provides API to work with vtiger CRM Custom View (Filter)| __construct() X-Ref |
| Constructor |
| __getUniqueId() X-Ref |
| Get unique id for this instance |
| initialize($valuemap, $moduleInstance=false) X-Ref |
| Initialize this filter instance param: Vtiger_Module Instance of the module to which this filter is associated. |
| __create($moduleInstance) X-Ref |
| Create this instance param: Vtiger_Module Instance of the module to which this filter should be associated with |
| __update() X-Ref |
| Update this instance |
| __delete() X-Ref |
| Delete this instance |
| save($moduleInstance=false) X-Ref |
| Save this instance param: Vtiger_Module Instance of the module to use |
| delete() X-Ref |
| Delete this instance |
| __getColumnValue($fieldInstance) X-Ref |
| Get the column value to use in custom view tables. param: Vtiger_Field Instance of the field |
| addField($fieldInstance, $index=0) X-Ref |
| Add the field to this filer instance param: Vtiger_Field Instance of the field param: Integer Index count to use |
| addRule($fieldInstance, $comparator, $comparevalue, $index=0, $group=1, $condition='and') X-Ref |
| Add rule to this filter instance param: Vtiger_Field Instance of the field param: String One of [EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, DOES_NOT_CONTAINS, LESS_THAN, param: String Value to use for comparision param: Integer Index count to use |
| translateComparator($value, $tolongform=false) X-Ref |
| Translate comparator (condition) to long or short form. |
| 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 by filterid or filtername param: mixed filterid or filtername param: Vtiger_Module Instance of the module to use when filtername is used |
| getAllForModule($moduleInstance) X-Ref |
| Get all instances of filter for the module param: Vtiger_Module Instance of module |
| deleteForModule($moduleInstance) X-Ref |
| Delete filter associated for module param: Vtiger_Module Instance of module |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |