[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/settings/ -> fetchalias.ini (source)

   1  #?ini charset="iso-8859-1"?
   2  # eZ publish fetch alias configuration file.
   3  #
   4  # NOTE: It is not recommended to edit this files directly, instead
   5  #       a file in override should be created for setting the
   6  #       values that is required for your site. Either create
   7  #       a file called settings/override/fetchalias.ini.append.php
   8  #       for more security in non-virtualhost modes
   9  
  10  # fetch_alias is to used as a replacement for fetch for often used fetch functions
  11  #             or to simplify complicated fetch functions.
  12  
  13  # General syntax
  14  #
  15  # [<parameter>]         # name of first parameter in fetch_alias
  16  # Module=          # which module to use
  17  # FunctionName=    # name of function defined in kernel/<module>/function_definition.php
  18  # Parameter[key]=<value>  # key is the name of the parameter defined for the function in kernel/<module>/function_definition.php
  19  #                         # value is the key of the hash entry in fetch_alias
  20  # Constant[key]=<value>   # key is the name of the parameter defined for the function in kernel/<module>/function_definition.php
  21  #                         # value is a constant defined in this ini file. use ; to separate elements if the value is supposed to be an array
  22  
  23  #usage : fetch_alias(object, hash(id, <object_id>))
  24  [object]
  25  Module=content
  26  FunctionName=object
  27  Parameter[object_id]=id
  28  
  29  #usage : fetch_alias(news_list)
  30  [news_list]
  31  Module=content
  32  FunctionName=tree
  33  Constant[sort_by]=published;0
  34  Constant[class_id]=2
  35  Constant[parent_node_id]=2
  36  Constant[class_filter_type]=include
  37  Constant[limit]=10
  38  Constant[class_filter_array]=2
  39  
  40  #usage : fetch_alias(by_identifier, hash(attr_id, <unique text> ))
  41  [by_identifier]
  42  Module=content
  43  FunctionName=object_by_attribute
  44  Parameter[identifier]=attr_id
  45  
  46  # Fetch article comments
  47  [comments]
  48  Module=content
  49  FunctionName=list
  50  Constant[sort_by]=published;0
  51  Parameter[parent_node_id]=parent_node_id
  52  Constant[class_filter_type]=include
  53  Constant[class_filter_array]=comment
  54  
  55  # Fetch children
  56  [children]
  57  Module=content
  58  FunctionName=list
  59  Parameter[sort_by]=sort_by
  60  Parameter[parent_node_id]=parent_node_id
  61  Parameter[offset]=offset
  62  Parameter[limit]=limit
  63  
  64  # Count children
  65  [children_count]
  66  Module=content
  67  FunctionName=list_count
  68  Parameter[parent_node_id]=parent_node_id
  69  
  70  
  71  # Fetch subtree
  72  [subtree]
  73  Module=content
  74  FunctionName=tree
  75  Constant[sort_by]=priority;0
  76  Parameter[parent_node_id]=parent_node_id
  77  Parameter[offset]=offset
  78  Parameter[limit]=limit
  79  
  80  # Fetch product reviews
  81  [reviews]
  82  Module=content
  83  FunctionName=list
  84  Constant[sort_by]=published;0
  85  Parameter[parent_node_id]=parent_node_id
  86  Constant[class_filter_type]=include
  87  Constant[class_filter_array]=review


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7