[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 687 lines (25 kb) |
Included or required: | 3 times |
Referenced: | 0 times |
Includes or requires: | 2 files includes/runtime/LanguageHandler.php includes/runtime/Globals.php |
Vtiger_Util_Helper:: (32 methods):
transformUploadedFiles()
formatDateDiffInStrings()
pluralize()
toSafeHTML()
toVtiger6SafeHTML()
validateStringForSql()
checkRecordExistance()
formatDateIntoStrings()
replaceSpaceWithUnderScores()
getRecordName()
formatDateTimeIntoDayString()
getPickListId()
getPickListValues()
getBaseCurrency()
getRoleBasedPicklistValues()
sanitizeUploadFileName()
getMaxUploadSize()
getOwnerName()
getDecodedValue()
getActiveAdminCurrentDateTime()
getCreator()
convertDateTimeIntoUsersDisplayFormat()
convertTimeIntoUsersDisplayFormat()
getLabel()
getCurrentInfoOfUser()
getGroupsIdsForUsers()
transferListSearchParamsToFilterCondition()
setCalendarDefaultActivityTypesForUser()
getAllSkins()
isUserDeleted()
getDefaultMandatoryValue()
checkDbUTF8Support()
Class: Vtiger_Util_Helper - X-Ref
transformUploadedFiles(array $_files, $top = TRUE) X-Ref |
Function used to transform mulitiple uploaded file information into useful format. param: array $_files - ex: array( 'file' => array('name'=> array(0=>'name1',1=>'name2'), param: type $top return: array array( 'file' => array(0=> array('name'=> 'name1','type' => 'type1'), |
formatDateDiffInStrings($dateTime) X-Ref |
Function parses date into readable format param: <Date Time> $dateTime return: <String> |
pluralize($count, $text) X-Ref |
Function returns singular or plural text param: <Number> $count param: <String> $text return: <String> |
toSafeHTML($input) X-Ref |
Function to make the input safe to be used as HTML |
toVtiger6SafeHTML($input) X-Ref |
Function that will strip all the tags while displaying param: <String> $input - html data return: <String> vtiger6 displayable data |
validateStringForSql($string, $skipEmpty=true) X-Ref |
Function to validate the input with given pattern. param: <String> $string param: <Boolean> $skipEmpty Skip the check if string is empty. return: <String> |
checkRecordExistance($recordId) X-Ref |
Function Checks the existence of the record param: <type> $recordId - module recordId |
formatDateIntoStrings($date, $time = false) X-Ref |
Function to parses date into string format param: <Date> $date param: <Time> $time return: <String> |
replaceSpaceWithUnderScores($string) X-Ref |
Function to replace spaces with under scores param: <String> $string return: <String> |
getRecordName($recordId, $checkDelete=false) X-Ref |
No description |
formatDateTimeIntoDayString($dateTime) X-Ref |
Function to parse dateTime into Days param: <DateTime> $dateTime return: <String> |
getPickListId($fieldName) X-Ref |
Function to get picklist key for a picklist |
getPickListValues($fieldName) X-Ref |
Function which will give the picklist values for a field param: type $fieldName -- string return: type -- array of values |
getBaseCurrency() X-Ref |
Function gets the CRM's base Currency information return: Array |
getRoleBasedPicklistValues($fieldName, $roleId) X-Ref |
Function to get role based picklist values param: <String> $fieldName param: <Integer> $roleId return: <Array> list of role based picklist values |
sanitizeUploadFileName($fileName, $badFileExtensions) X-Ref |
Function to sanitize the uploaded file name param: <String> $fileName param: <Array> $badFileExtensions return: <String> sanitized file name |
getMaxUploadSize() X-Ref |
Function to get maximum upload size return: <Float> maximum upload size |
getOwnerName($ownerId) X-Ref |
Function to get Owner name for ownerId param: <Integer> $ownerId return: <String> $ownerName |
getDecodedValue($string) X-Ref |
Function decodes the utf-8 characters param: <String> $string return: <String> |
getActiveAdminCurrentDateTime() X-Ref |
No description |
getCreator($recordId) X-Ref |
Function to get Creator of this record param: <Integer> $recordId return: <Integer> |
convertDateTimeIntoUsersDisplayFormat($dateTime, $userObject = null) X-Ref |
Function to get the datetime value in user preferred hour format param: <DateTime> $dateTime param: <Vtiger_Users_Model> $userObject return: <String> date and time with hour format |
convertTimeIntoUsersDisplayFormat($time, $userObject = null) X-Ref |
Function to get the time value in user preferred hour format param: <Time> $time param: <Vtiger_Users_Model> $userObject return: <String> time with hour format |
getLabel($recordId , $ignoreDelete=true) X-Ref |
No description |
getCurrentInfoOfUser() X-Ref |
Function gets the CRM's base Currency information according to user preference return: Array |
getGroupsIdsForUsers($userId) X-Ref |
No description |
transferListSearchParamsToFilterCondition($listSearchParams, $moduleModel) X-Ref |
No description |
setCalendarDefaultActivityTypesForUser($userId) X-Ref |
No description |
getAllSkins() X-Ref |
No description |
isUserDeleted($userid) X-Ref |
No description |
getDefaultMandatoryValue($dataType) X-Ref |
No description |
checkDbUTF8Support($conn) X-Ref |
No description |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |