iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/soap/ -> SoapHelperFunctions.php (sommaire)

(aucune description)

Taille du fichier: 1168 lignes (36 kb)
Inclus ou requis: 5 fois
Réferencé: 1 fois
Inclus ou requis: 0 fichiers

Defines 37 functions

  get_field_list()
  new_get_field_list()
  setFaultObject()
  checkSessionAndModuleAccess()
  checkACLAccess()
  get_name_value()
  get_user_module_list()
  check_modules_access()
  get_name_value_list()
  filter_fields()
  get_name_value_list_for_fields()
  array_get_name_value_list()
  array_get_name_value_lists()
  name_value_lists_get_array()
  array_get_return_value()
  get_return_value_for_fields()
  getRelationshipResults()
  get_return_value_for_link_fields()
  new_handle_set_relationship()
  new_handle_set_entries()
  get_return_value()
  get_name_value_xml()
  new_get_return_module_fields()
  get_return_module_fields()
  get_return_error_value()
  filter_field_list()
  filter_return_list()
  login_success()
  add_create_account()
  check_for_duplicate_contacts()
  is_server_version_greater()
  getFile()
  getManifest()
  get_encoded()
  get_decoded()
  decrypt_string()
  canViewPath()

Fonctions
Fonctions qui ne font pas partie d'une classe :

get_field_list(&$value, $translate=true)   X-Ref
Retrieve field data for a provided SugarBean.

param: SugarBean $value -- The bean to retrieve the field information for.
return: Array -- 'field'=>   'name' -- the name of the field

new_get_field_list($value, $translate=true)   X-Ref
Aucune description

setFaultObject($errorObject)   X-Ref
Aucune description

checkSessionAndModuleAccess($session, $login_error_key, $module_name, $access_level, $module_access_level_error_key, $errorObject)   X-Ref
Aucune description

checkACLAccess($bean, $viewType, $errorObject, $error_key)   X-Ref
Aucune description

get_name_value($field,$value)   X-Ref
Aucune description

get_user_module_list($user)   X-Ref
Aucune description

check_modules_access($user, $module_name, $action='write')   X-Ref
Aucune description

get_name_value_list(&$value, $returnDomValue = false)   X-Ref
Aucune description

filter_fields($value, $fields)   X-Ref
Aucune description

get_name_value_list_for_fields($value, $fields)   X-Ref
Aucune description

array_get_name_value_list($array)   X-Ref
Aucune description

array_get_name_value_lists($array)   X-Ref
Aucune description

name_value_lists_get_array($list)   X-Ref
Aucune description

array_get_return_value($array, $module)   X-Ref
Aucune description

get_return_value_for_fields($value, $module, $fields)   X-Ref
Aucune description

getRelationshipResults($bean, $link_field_name, $link_module_fields, $optional_where = '')   X-Ref
Aucune description

get_return_value_for_link_fields($bean, $module, $link_name_to_value_fields_array)   X-Ref
Aucune description

new_handle_set_relationship($module_name, $module_id, $link_field_name, $related_ids)   X-Ref

param: String $module_name -- The name of the module that the primary record is from.  This name should be the name the module was developed under (changing a tab name is studio does not affect the name that should be passed into this method).
param: String $module_id -- The ID of the bean in the specified module
param: String $link_field_name - The relationship name for which to create realtionships.
param: Array $related_ids -- The array of ids for which we want to create relationships
return: true on success, false on failure

new_handle_set_entries($module_name, $name_value_lists, $select_fields = FALSE)   X-Ref
Aucune description

get_return_value(&$value, $module, $returnDomValue = false)   X-Ref
Aucune description

get_name_value_xml($val, $module_name)   X-Ref
Aucune description

new_get_return_module_fields($value, $module, $translate=true)   X-Ref
Aucune description

get_return_module_fields(&$value, $module, &$error, $translate=true)   X-Ref
Aucune description

get_return_error_value($error_num, $error_name, $error_description)   X-Ref
Aucune description

filter_field_list(&$field_list, &$select_fields, $module_name)   X-Ref
Aucune description

filter_return_list(&$output_list, $select_fields, $module_name)   X-Ref
Filter the results of a list query.  Limit the fields returned.

param: Array $output_list -- The array of list data
param: Array $select_fields -- The list of fields that should be returned.  If this array is specfied, only the fields in the array will be returned.
param: String $module_name -- The name of the module this being worked on
return: The filtered array of list data.

login_success()   X-Ref
Aucune description

add_create_account(&$seed)   X-Ref
Aucune description

check_for_duplicate_contacts(&$seed)   X-Ref
Aucune description

is_server_version_greater($left, $right)   X-Ref
Aucune description

getFile( $zip_file, $file_in_zip )   X-Ref
Aucune description

getManifest( $zip_file )   X-Ref
Aucune description

get_encoded($object)   X-Ref
Aucune description

get_decoded($object)   X-Ref
Aucune description

decrypt_string($string)   X-Ref
decrypt a string use the TripleDES algorithm. This meant to be
modified if the end user chooses a different algorithm

param: $string - the string to decrypt
return: a decrypted string if we can decrypt, the original string otherwise

canViewPath( $path, $base )   X-Ref
Aucune description



Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7