[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/kernel/content/ -> module.php (source)

   1  <?php
   2  //
   3  // Created on: <17-Apr-2002 11:05:08 amos>
   4  //
   5  // SOFTWARE NAME: eZ publish
   6  // SOFTWARE RELEASE: 3.9.0
   7  // BUILD VERSION: 17785
   8  // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS
   9  // SOFTWARE LICENSE: GNU General Public License v2.0
  10  // NOTICE: >
  11  //   This program is free software; you can redistribute it and/or
  12  //   modify it under the terms of version 2.0  of the GNU General
  13  //   Public License as published by the Free Software Foundation.
  14  //
  15  //   This program is distributed in the hope that it will be useful,
  16  //   but WITHOUT ANY WARRANTY; without even the implied warranty of
  17  //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18  //   GNU General Public License for more details.
  19  //
  20  //   You should have received a copy of version 2.0 of the GNU General
  21  //   Public License along with this program; if not, write to the Free
  22  //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  23  //   MA 02110-1301, USA.
  24  //
  25  //
  26  
  27  $Module = array( 'name' => 'eZContentObject',
  28                   'variable_params' => true );
  29  
  30  $ViewList = array();
  31  $ViewList['edit'] = array(
  32  // Access permissions for this view are now checked inside the edit.php, so we don't need it here.
  33  //    'functions' => array( 'edit' ),
  34      'default_navigation_part' => 'ezcontentnavigationpart',
  35      'ui_context' => 'edit',
  36      'single_post_actions' => array( 'PreviewButton' => 'Preview',
  37                                      'TranslateButton' => 'Translate',
  38                                      'VersionsButton' => 'VersionEdit',
  39                                      'PublishButton' => 'Publish',
  40                                      'DiscardButton' => 'Discard',
  41                                      'BrowseNodeButton' => 'BrowseForNodes',
  42                                      'RemoveAssignmentButton' => 'RemoveAssignments',
  43                                      'EditLanguageButton' => 'EditLanguage',
  44                                      'FromLanguageButton' => 'FromLanguage',
  45                                      'TranslateLanguageButton' => 'TranslateLanguage',
  46                                      'BrowseObjectButton' => 'BrowseForObjects',
  47                                      'UploadFileRelationButton' => 'UploadFileRelation',
  48                                      'NewButton' => 'NewObject',
  49                                      'DeleteRelationButton' => 'DeleteRelation',
  50                                      'StoreButton' => 'Store',
  51                                      'StoreExitButton' => 'StoreExit',
  52                                      'MoveNodeID' => 'MoveNode',
  53                                      'RemoveNodeID' => 'DeleteNode',
  54                                      'ConfirmButton' => 'ConfirmAssignmentDelete',
  55                                      'SectionEditButton' => 'SectionEdit'
  56                                      ),
  57      'post_action_parameters' => array( 'EditLanguage' => array( 'SelectedLanguage' => 'EditSelectedLanguage' ),
  58                                         'FromLanguage' => array( 'FromLanguage' => 'FromLanguage' ),
  59                                         'TranslateLanguage' => array( 'SelectedLanguage' => 'EditSelectedLanguage' ),
  60                                         'UploadFileRelation' => array( 'UploadRelationLocation' => 'UploadRelationLocationChoice' ) ),
  61      'post_actions' => array( 'BrowseActionName' ),
  62      'script' => 'edit.php',
  63      'params' => array( 'ObjectID', 'EditVersion', 'EditLanguage', 'FromLanguage' ) );
  64  
  65  $ViewList['removenode'] = array(
  66      'functions' => array( 'edit' ),
  67      'default_navigation_part' => 'ezcontentnavigationpart',
  68      'ui_context' => 'edit',
  69      'single_post_actions' => array( 'ConfirmButton' => 'ConfirmAssignmentRemove',
  70                                      'CancelButton' => 'CancelAssignmentRemove' ),
  71      'script' => 'removenode.php',
  72      'params' => array( 'ObjectID', 'EditVersion', 'EditLanguage', 'NodeID' ) );
  73  
  74  $ViewList['removeassignment'] = array(
  75      'functions' => array( 'edit' ),
  76      'default_navigation_part' => 'ezcontentnavigationpart',
  77      'ui_context' => 'edit',
  78      'ui_component' => 'content',
  79      'single_post_actions' => array( 'ConfirmRemovalButton' => 'ConfirmRemoval',
  80                                      'CancelRemovalButton' => 'CancelRemoval' ),
  81      'script' => 'removeassignment.php',
  82      'params' => array() );
  83  
  84  $ViewList['pdf'] = array(
  85      'functions' => array( 'pdf' ),
  86      'default_navigation_part' => 'ezcontentnavigationpart',
  87      'script' => 'pdf.php',
  88      'params' => array( 'NodeID' ),
  89      'unordered_params' => array( 'language' => 'Language',
  90                                   'offset' => 'Offset',
  91                                   'year' => 'Year',
  92                                   'month' => 'Month',
  93                                   'day' => 'Day' )
  94      );
  95  
  96  $ViewList['view'] = array(
  97      'functions' => array( 'read' ),
  98      'default_navigation_part' => 'ezcontentnavigationpart',
  99      'script' => 'view.php',
 100      'params' => array( 'ViewMode', 'NodeID' ),
 101      'unordered_params' => array( 'language' => 'Language',
 102                                   'offset' => 'Offset',
 103                                   'year' => 'Year',
 104                                   'month' => 'Month',
 105                                   'day' => 'Day' )
 106      );
 107  
 108  $ViewList['copy'] = array(
 109      'functions' => array( 'read' ),
 110      'default_navigation_part' => 'ezcontentnavigationpart',
 111      'script' => 'copy.php',
 112      'ui_context' => 'edit',
 113      'single_post_actions' => array( 'CopyButton' => 'Copy',
 114                                      'CancelButton' => 'Cancel' ),
 115      'post_action_parameters' => array( 'Copy' => array( 'VersionChoice' => 'VersionChoice' ) ),
 116      'post_actions' => array( 'BrowseActionName' ),
 117      'params' => array( 'ObjectID' ) );
 118  
 119  $ViewList['copysubtree'] = array(
 120      'functions' => array( 'create' ),
 121      'default_navigation_part' => 'ezcontentnavigationpart',
 122      'script' => 'copysubtree.php',
 123      'ui_context' => 'administration',
 124      'single_post_actions' => array( 'CopyButton' => 'Copy',
 125                                      'CancelButton' => 'Cancel' ),
 126      'post_action_parameters' => array( 'Copy' => array( 'VersionChoice' => 'VersionChoice',
 127                                                          'CreatorChoice' => 'CreatorChoice',
 128                                                          'TimeChoice' => 'TimeChoice' ) ),
 129      'post_actions' => array( 'BrowseActionName' ),
 130      'params' => array( 'NodeID' )
 131      );
 132  
 133  $ViewList['versionview'] = array(
 134      'functions' => array( 'versionread' ),
 135      'default_navigation_part' => 'ezcontentnavigationpart',
 136      'ui_context' => 'edit',
 137      'script' => 'versionview.php',
 138      'single_post_actions' => array( 'ChangeSettingsButton' => 'ChangeSettings',
 139                                      'EditButton' => 'Edit',
 140                                      'VersionsButton' => 'Versions',
 141                                      'PreviewPublishButton' => 'Publish' ),
 142      'post_action_parameters' => array( 'ChangeSettings' => array( 'Language' => 'SelectedLanguage',
 143                                                                    'PlacementID' => 'SelectedPlacement',
 144                                                                    'SiteAccess' => 'SelectedSiteAccess' ) ),
 145      'params' => array( 'ObjectID', 'EditVersion', 'LanguageCode', 'FromLanguage' ),
 146      'unordered_params' => array( 'language' => 'Language',
 147                                   'offset' => 'Offset',
 148                                   'site_access' => 'SiteAccess' ) );
 149  
 150  $ViewList['restore'] = array(
 151      'functions' => array( 'restore' ),
 152      'default_navigation_part' => 'ezcontentnavigationpart',
 153      'ui_context' => 'administration',
 154      'script' => 'restore.php',
 155      'single_post_actions' => array( 'ConfirmButton' => 'Confirm',
 156                                      'CancelButton' => 'Cancel',
 157                                      'AddLocationAction' => 'AddLocation' ),
 158      'post_action_parameters' => array( 'Confirm' => array( 'RestoreType' => 'RestoreType' ) ),
 159      'params' => array( 'ObjectID' ) );
 160  
 161  $ViewList['search'] = array(
 162      'functions' => array( 'read' ),
 163      'default_navigation_part' => 'ezcontentnavigationpart',
 164      'script' => 'search.php',
 165      'params' => array( ),
 166      'unordered_params' => array( 'offset' => 'Offset' ) );
 167  
 168  $ViewList['urltranslator'] = array(
 169      'functions' => array( 'urltranslator' ),
 170      'default_navigation_part' => 'ezsetupnavigationpart',
 171      'script' => 'urltranslator.php',
 172      'ui_context' => 'administration',
 173      'single_post_actions' => array( 'NewURLAliasButton' => 'NewURLAlias',
 174                                      'NewForwardURLAliasButton' => 'NewForwardURLAlias',
 175                                      'NewWildcardURLAliasButton' => 'NewWildcardURLAlias',
 176                                      'RemoveURLAliasButton' => 'RemoveURLAlias',
 177                                      'StoreURLAliasButton' => 'StoreURLAlias' ),
 178      'params' => array( ),
 179      'unordered_params' => array( 'offset' => 'Offset' ) );
 180  
 181  $ViewList['advancedsearch'] = array(
 182      'functions' => array( 'read' ),
 183      'default_navigation_part' => 'ezcontentnavigationpart',
 184      'script' => 'advancedsearch.php',
 185      'params' => array( 'ViewMode' ),
 186      'unordered_params' => array( 'offset' => 'Offset' ) );
 187  
 188  $ViewList['browse'] = array(
 189      'functions' => array( 'read' ),
 190      'default_navigation_part' => 'ezcontentnavigationpart',
 191      'ui_context' => 'browse',
 192      'script' => 'browse.php',
 193      'params' => array( 'NodeID', 'ObjectID', 'EditVersion' ),
 194      'unordered_params' => array( 'offset' => 'Offset' ) );
 195  
 196  $ViewList['upload'] = array(
 197      'functions' => array( 'create' ),
 198      'default_navigation_part' => 'ezcontentnavigationpart',
 199      'script' => 'upload.php',
 200      'single_post_actions' => array( 'UploadFileButton' => 'UploadFile',
 201                                      'CancelUploadButton' => 'CancelUpload' ),
 202      'post_action_parameters' => array( 'UploadFile' => array( 'UploadLocation' => 'UploadLocationChoice',
 203                                                                'ObjectName' => 'ObjectName' ) ),
 204      'params' => array() );
 205  
 206  $ViewList['removeobject'] = array(
 207      'functions' => array( 'read' ),
 208      'default_navigation_part' => 'ezcontentnavigationpart',
 209      'script' => 'removeobject.php',
 210      'params' => array(  ) );
 211  
 212  $ViewList['removeuserobject'] = array(
 213      'functions' => array( 'read' ),
 214      'default_navigation_part' => 'ezusernavigationpart',
 215      'script' => 'removeobject.php',
 216      'params' => array( ) );
 217  
 218  $ViewList['removemediaobject'] = array(
 219      'functions' => array( 'read' ),
 220      'default_navigation_part' => 'ezmedianavigationpart',
 221      'script' => 'removeobject.php',
 222      'params' => array( ) );
 223  
 224  $ViewList['removeeditversion'] = array(
 225      'functions' => array( 'read' ),
 226      'default_navigation_part' => 'ezcontentnavigationpart',
 227      'script' => 'removeeditversion.php',
 228      'ui_context' => 'edit',
 229      'params' => array( ) );
 230  
 231  $ViewList['download'] = array(
 232      'functions' => array( 'read' ),
 233      'default_navigation_part' => 'ezcontentnavigationpart',
 234      'script' => 'download.php',
 235      'params' => array( 'ContentObjectID', 'ContentObjectAttributeID', 'FileType' ),
 236      'unordered_params' => array( 'version' => 'Version' ) );
 237  
 238  $ViewList['action'] = array(
 239      'functions' => array( 'read' ),
 240      'default_navigation_part' => 'ezcontentnavigationpart',
 241      'script' => 'action.php',
 242      'params' => array(  ),
 243      'single_post_actions' => array( 'RemoveAssignmentButton' => 'RemoveAssignment',
 244                                      'AddAssignmentButton' => 'SelectAssignmentLocation',
 245                                      'AddAssignmentAction' => 'AddAssignment',
 246                                      'UpdateMainAssignmentButton' => 'UpdateMainAssignment',
 247                                      'ClearViewCacheButton' => 'ClearViewCache',
 248                                      'ClearViewCacheSubtreeButton' => 'ClearViewCacheSubtree',
 249                                      'MoveNodeButton' => 'MoveNodeRequest',
 250                                      'MoveNodeAction' => 'MoveNode',
 251                                      'SwapNodeButton' => 'SwapNodeRequest',
 252                                      'SwapNodeAction' => 'SwapNode',
 253                                      'UploadFileAction' => 'UploadFile' ),
 254      'post_action_parameters' => array( 'SelectAssignmentLocation' => array( 'AssignmentIDSelection' => 'AssignmentIDSelection',
 255                                                                              'NodeID' => 'ContentNodeID',
 256                                                                              'ObjectID' => 'ContentObjectID',
 257                                                                              'ViewMode' => 'ViewMode',
 258                                                                              'LanguageCode' => 'ContentObjectLanguageCode' ),
 259                                         'AddAssignment' => array( 'AssignmentIDSelection' => 'AssignmentIDSelection',
 260                                                                   'NodeID' => 'ContentNodeID',
 261                                                                   'ObjectID' => 'ContentObjectID',
 262                                                                   'ViewMode' => 'ViewMode',
 263                                                                   'LanguageCode' => 'ContentObjectLanguageCode' ),
 264                                         'RemoveAssignment' => array( 'AssignmentIDSelection' => 'AssignmentIDSelection', // Note: AssignmentIDSelection is deprecated, use LocationIDSelection
 265                                                                      'LocationIDSelection' => 'LocationIDSelection',
 266                                                                      'NodeID' => 'ContentNodeID',
 267                                                                      'ObjectID' => 'ContentObjectID',
 268                                                                      'ViewMode' => 'ViewMode',
 269                                                                      'LanguageCode' => 'ContentObjectLanguageCode' ),
 270                                         'UpdateMainAssignment' => array( 'MainAssignmentID' => 'MainAssignmentCheck',
 271                                                                          'HasMainAssignment' => 'HasMainAssignment',
 272                                                                          'NodeID' => 'ContentNodeID',
 273                                                                          'ObjectID' => 'ContentObjectID',
 274                                                                          'ViewMode' => 'ViewMode',
 275                                                                          'LanguageCode' => 'ContentObjectLanguageCode' ),
 276                                         'ClearViewCache' => array( 'NodeID' => 'NodeID',
 277                                                                    'ObjectID' => 'ObjectID',
 278                                                                    'ViewMode' => 'ViewMode',
 279                                                                    'LanguageCode' => 'ContentObjectLanguageCode',
 280                                                                    'CurrentURL' => 'CurrentURL' ),
 281                                         'ClearViewCacheSubtree' => array( 'NodeID' => 'NodeID',
 282                                                                           'ObjectID' => 'ObjectID',
 283                                                                           'ViewMode' => 'ViewMode',
 284                                                                           'LanguageCode' => 'ContentObjectLanguageCode',
 285                                                                           'CurrentURL' => 'CurrentURL' ),
 286                                         'MoveNodeRequest' => array( 'NodeID' => 'ContentNodeID',
 287                                                                     'ViewMode' => 'ViewMode',
 288                                                                     'LanguageCode' => 'ContentObjectLanguageCode' ),
 289                                         'MoveNode' => array( 'NodeID' => 'ContentNodeID',
 290                                                              'ViewMode' => 'ViewMode',
 291                                                              'NewParentNode' => 'NewParentNode',
 292                                                              'LanguageCode' => 'ContentObjectLanguageCode' ),
 293                                         'SwapNodeRequest' => array( 'NodeID' => 'ContentNodeID',
 294                                                                     'ViewMode' => 'ViewMode',
 295                                                                     'LanguageCode' => 'ContentObjectLanguageCode' ),
 296                                         'SwapNode' => array( 'NodeID' => 'ContentNodeID',
 297                                                              'ViewMode' => 'ViewMode',
 298                                                              'NewNode' => 'NewNode',
 299                                                              'LanguageCode' => 'ContentObjectLanguageCode' ),
 300                                         'UploadFile' => array( 'UploadActionName' => 'UploadActionName',
 301                                                                'UploadParentNodes' => 'UploadParentNodes',
 302                                                                'UploadRedirectBack' => 'UploadRedirectBack' ) ),
 303      'post_actions' => array( 'BrowseActionName' ) );
 304  
 305  $ViewList['collectinformation'] = array(
 306      'functions' => array( 'read' ),
 307      'default_navigation_part' => 'ezcontentnavigationpart',
 308      'script' => 'collectinformation.php',
 309      'single_post_actions' => array( 'ActionCollectInformation' => 'CollectInformation' ),
 310      'post_action_parameters' => array( 'CollectInformation' => array( 'ContentObjectID' => 'ContentObjectID',
 311                                                                        'ContentNodeID' => 'ContentNodeID',
 312                                                                        'ViewMode' => 'ViewMode' ) ),
 313      'params' => array(  ) );
 314  
 315  $ViewList['versions'] = array(
 316      'functions' => array( 'read', 'edit' ),
 317      'default_navigation_part' => 'ezcontentnavigationpart',
 318      'ui_context' => 'edit',
 319      'script' => 'versions.php',
 320      'single_post_actions' => array( 'CopyVersionButton' => 'CopyVersion',
 321                                      'EditButton' => 'Edit' ),
 322      'post_action_parameters' => array( 'CopyVersion' => array( 'VersionID' => 'RevertToVersionID',
 323                                                                 'VersionKeyArray' => 'CopyVersionButton',
 324                                                                 'LanguageArray' => 'CopyVersionLanguage' ),
 325                                         'Edit' => array( 'VersionID' => 'RevertToVersionID',
 326                                                          'VersionKeyArray' => 'EditButton' ) ),
 327      'params' => array( 'ObjectID' ,'EditVersion' ),
 328      'unordered_params' => array( 'offset' => 'Offset' ) );
 329  
 330  $ViewList['draft'] = array(
 331      'functions' => array( 'edit' ),
 332      'script' => 'draft.php',
 333      'default_navigation_part' => 'ezmynavigationpart',
 334      'params' => array( ),
 335      'unordered_params' => array( 'offset' => 'Offset' ) );
 336  
 337  $ViewList['diff'] = array(
 338      'functions' => array( 'diff' ),
 339      'script' => 'diff.php',
 340      'default_navigation_part' => 'ezcontentnavigationpart',
 341      'params' => array( 'ObjectID' ),
 342      'unordered_params' => array( 'offset' => 'Offset'  ) );
 343      
 344  $ViewList['history'] = array(
 345      'functions' => array( 'read', 'edit' ),
 346      'default_navigation_part' => 'ezcontentnavigationpart',
 347      'ui_context' => 'edit',
 348      'script' => 'history.php',
 349      'single_post_actions' => array( 'HistoryCopyVersionButton' => 'CopyVersion',
 350                                      'HistoryEditButton' => 'Edit' ),
 351      'post_action_parameters' => array( 'CopyVersion' => array( 'VersionID' => 'RevertToVersionID',
 352                                                                 'VersionKeyArray' => 'HistoryCopyVersionButton',
 353                                                                 'LanguageArray' => 'CopyVersionLanguage' ),
 354                                         'Edit' => array( 'VersionID' => 'RevertToVersionID',
 355                                                          'VersionKeyArray' => 'HistoryEditButton' ) ),
 356      'params' => array( 'ObjectID' ,'EditVersion' ),
 357      'unordered_params' => array( 'offset' => 'Offset' ) );
 358      
 359  $ViewList['trash'] = array(
 360      'functions' => array( 'restore' ),
 361      'script' => 'trash.php',
 362      'default_navigation_part' => 'ezcontentnavigationpart',
 363      'params' => array( ),
 364      'unordered_params' => array( 'offset' => 'Offset' ) );
 365  
 366  $ViewList['translations'] = array(
 367      'functions' => array( 'translations' ),
 368      'ui_context' => 'administration',
 369      'default_navigation_part' => 'ezsetupnavigationpart',
 370      'script' => 'translations.php',
 371      'single_post_actions' => array( 'RemoveButton' => 'Remove',
 372                                      'StoreButton' => 'StoreNew',
 373                                      'NewButton' => 'New',
 374                                      'ConfirmButton' => 'Confirm' ),
 375      'post_action_parameters' => array( 'StoreNew' => array( 'LocaleID' => 'LocaleID',
 376                                                              'TranslationName' => 'TranslationName',
 377                                                              'TranslationLocale' => 'TranslationLocale' ),
 378                                         'Remove' => array( 'SelectedTranslationList' => 'DeleteIDArray' ),
 379                                         'Confirm' => array( 'ConfirmList' => 'ConfirmTranlationID' ) ),
 380      'params' => array( 'TranslationID' ) );
 381  
 382  $ViewList['tipafriend'] = array(
 383      'functions' => array( 'read' ),
 384      'default_navigation_part' => 'ezcontentnavigationpart',
 385      'script' => 'tipafriend.php',
 386      'params' => array( 'NodeID' ) );
 387  
 388  $ViewList['keyword'] = array(
 389      'functions' => array( 'read' ),
 390      'default_navigation_part' => 'ezcontentnavigationpart',
 391      'script' => 'keyword.php',
 392      'params' => array( 'alphabet'=>'Alphabet' ),
 393      'unordered_params' => array( 'offset' => 'Offset', 'classid' => 'ClassID' ) );
 394  
 395  $ViewList['collectedinfo'] = array(
 396      'functions' => array( 'read' ),
 397      'default_navigation_part' => 'ezcontentnavigationpart',
 398      'script' => 'collectedinfo.php',
 399      'params' => array( 'NodeID' ) );
 400  
 401  $ViewList['bookmark'] = array(
 402      'functions' => array( 'bookmark' ),
 403      'default_navigation_part' => 'ezmynavigationpart',
 404      'script' => 'bookmark.php',
 405      'params' => array(),
 406      'single_post_actions' => array( 'AddButton' => 'Add',
 407                                      'RemoveButton' => 'Remove' ),
 408      'post_actions' => array( 'BrowseActionName' ),
 409      'post_action_parameters' => array( 'Remove' => array( 'DeleteIDArray' => 'DeleteIDArray' ) ),
 410      'unordered_params' => array( 'offset' => 'Offset' ) );
 411  
 412  $ViewList['pendinglist'] = array(
 413      'functions' => array( 'pendinglist' ),
 414      'default_navigation_part' => 'ezmynavigationpart',
 415      'script' => 'pendinglist.php',
 416      'params' => array(),
 417      'unordered_params' => array( 'offset' => 'Offset' ) );
 418  
 419  $ViewList['new'] = array(
 420      'functions' => array( 'read' ),
 421      'default_navigation_part' => 'ezcontentnavigationpart',
 422      'script' => 'newcontent.php',
 423      'params' => array() );
 424  
 425  $ViewList['hide'] = array(
 426      'functions' => array( 'hide' ),
 427      'default_navigation_part' => 'ezcontentnavigationpart',
 428      'script' => 'hide.php',
 429      'params' => array( 'NodeID' ) );
 430  
 431  $ViewList['move'] = array(
 432      'functions' => array( 'edit' ),
 433      'default_navigation_part' => 'ezcontentnavigationpart',
 434      'script' => 'move.php',
 435      'params' => array( 'NodeID' ) );
 436  
 437  $ViewList['reverserelatedlist'] = array(
 438      'functions' => array( 'reverserelatedlist' ),
 439      'default_navigation_part' => 'ezcontentnavigationpart',
 440      'script' => 'reverserelatedlist.php',
 441      'params' => array( 'NodeID' ),
 442      'unordered_params' => array( 'offset' => 'Offset' ) );
 443  
 444  $ViewList['translation'] = array(
 445      'functions' => array( 'read' ),
 446      'default_navigation_part' => 'ezcontentnavigationpart',
 447      'script' => 'translation.php',
 448      'params' => array(  ),
 449      'single_post_actions' => array( 'CancelButton' => 'Cancel',
 450                                      'UpdateInitialLanguageButton' => 'UpdateInitialLanguage',
 451                                      'UpdateAlwaysAvailableButton' => 'UpdateAlwaysAvailable',
 452                                      'RemoveTranslationButton' => 'RemoveTranslation' ),
 453      'post_action_parameters' => array( 'Cancel' => array( 'NodeID' => 'ContentNodeID',
 454                                                            'ViewMode' => 'ViewMode',
 455                                                            'LanguageCode' => 'ContentObjectLanguageCode' ),
 456                                         'UpdateInitialLanguage' => array( 'InitialLanguageID' => 'InitialLanguageID',
 457                                                                           'NodeID' => 'ContentNodeID',
 458                                                                           'ObjectID' => 'ContentObjectID',
 459                                                                           'ViewMode' => 'ViewMode',
 460                                                                           'LanguageCode' => 'ContentObjectLanguageCode' ),
 461                                         'UpdateAlwaysAvailable' => array( 'AlwaysAvailable' => 'AlwaysAvailable',
 462                                                                           'NodeID' => 'ContentNodeID',
 463                                                                           'ObjectID' => 'ContentObjectID',
 464                                                                           'ViewMode' => 'ViewMode',
 465                                                                           'LanguageCode' => 'ContentObjectLanguageCode' ),
 466                                         'RemoveTranslation' => array( 'LanguageID' => 'LanguageID',
 467                                                                       'ConfirmRemoval' => 'ConfirmRemoval',
 468                                                                       'NodeID' => 'ContentNodeID',
 469                                                                       'ObjectID' => 'ContentObjectID',
 470                                                                       'ViewMode' => 'ViewMode',
 471                                                                       'LanguageCode' => 'ContentObjectLanguageCode' ) ) );
 472  
 473  $ClassID = array(
 474      'name'=> 'Class',
 475      'values'=> array(),
 476      'path' => 'classes/',
 477      'file' => 'ezcontentclass.php',
 478      'class' => 'eZContentClass',
 479      'function' => 'fetchList',
 480      'parameter' => array( 0, false, false, array( 'name' => 'asc' ) )
 481      );
 482  
 483  $ParentClassID = array(
 484      'name'=> 'ParentClass',
 485      'values'=> array(),
 486      'path' => 'classes/',
 487      'file' => 'ezcontentclass.php',
 488      'class' => 'eZContentClass',
 489      'function' => 'fetchList',
 490      'parameter' => array( 0, false, false, array( 'name' => 'asc' ) )
 491      );
 492  
 493  $SectionID = array(
 494      'name'=> 'Section',
 495      'values'=> array(),
 496      'path' => 'classes/',
 497      'file' => 'ezsection.php',
 498      'class' => 'eZSection',
 499      'function' => 'fetchList',
 500      'parameter' => array( false )
 501      );
 502  
 503  $VersionStatusRead = array(
 504      'name'=> 'Status',
 505      'values'=> array(),
 506      'path' => 'classes/',
 507      'file' => 'ezcontentobjectversion.php',
 508      'class' => 'eZContentObjectVersion',
 509      'function' => 'statusList',
 510      'parameter' => array( 'read' )
 511      );
 512  
 513  $VersionStatusRemove = array(
 514      'name'=> 'Status',
 515      'values'=> array(),
 516      'path' => 'classes/',
 517      'file' => 'ezcontentobjectversion.php',
 518      'class' => 'eZContentObjectVersion',
 519      'function' => 'statusList',
 520      'parameter' => array( 'remove' )
 521      );
 522  
 523  $Language = array(
 524      'name'=> 'Language',
 525      'values'=> array(),
 526      'path' => 'classes/',
 527      'file' => 'ezcontentlanguage.php',
 528      'class' => 'eZContentLanguage',
 529      'function' => 'fetchLimitationList',
 530      'parameter' => array( false )
 531      );
 532  
 533  $Assigned = array(
 534      'name'=> 'Owner',
 535      'values'=> array(
 536          array(
 537              'Name' => 'Self',
 538              'value' => '1')
 539          )
 540      );
 541  
 542  $AssignedEdit = array(
 543      'name'=> 'Owner',
 544      'single_select' => true,
 545      'values'=> array(
 546          array( 'Name' => 'Self',
 547                 'value' => '1'),
 548          array( 'Name' => 'Self or anonymous users per HTTP session',
 549                 'value' => '2' ) ) );
 550  
 551  $AssignedGroup = array(
 552      'name'=> 'Group',
 553      'single_select' => true,
 554      'values'=> array(
 555          array( 'Name' => 'Self',
 556                 'value' => '1') ) );
 557  
 558  $ParentDepth = array(
 559      'name' => 'ParentDepth',
 560      'values' => array(),
 561      'path' => 'classes/',
 562      'file' => 'ezcontentobjecttreenode.php',
 563      'class' => 'eZContentObjectTreeNode',
 564      'function' => 'parentDepthLimitationList',
 565      'parameter' => array( false )
 566      );
 567  
 568  $Node = array(
 569      'name'=> 'Node',
 570      'values'=> array()
 571      );
 572  
 573  $Subtree = array(
 574      'name'=> 'Subtree',
 575      'values'=> array()
 576      );
 577  
 578  $FunctionList['bookmark'] = array();
 579  
 580  $FunctionList['move'] = array();
 581  
 582  $FunctionList['read'] = array( 'Class' => $ClassID,
 583                                 'Section' => $SectionID,
 584                                 'Owner' => $Assigned,
 585                                 'Group' => $AssignedGroup,
 586                                 'Node' => $Node,
 587                                 'Subtree' => $Subtree);
 588  $FunctionList['diff'] = array( 'Class' => $ClassID,
 589                                 'Section' => $SectionID,
 590                                 'Owner' => $Assigned,
 591                                 'Node' => $Node,
 592                                 'Subtree' => $Subtree);
 593  $FunctionList['view_embed'] = array( 'Class' => $ClassID,
 594                                       'Section' => $SectionID,
 595                                       'Owner' => $Assigned,
 596                                       'Node' => $Node,
 597                                       'Subtree' => $Subtree);
 598  $FunctionList['create'] = array( 'Class' => $ClassID,
 599                                   'Section' => $SectionID,
 600                                   'ParentClass' => $ParentClassID,
 601                                   'ParentDepth' => $ParentDepth,
 602                                   'Node' => array_merge(  $Node, array( 'DropList' => array( 'ParentClass', 'Section' ) ) ),
 603                                   'Subtree' => $Subtree,
 604                                   'Language' => $Language
 605                                   );
 606  $FunctionList['edit'] = array( 'Class' => $ClassID,
 607                                 'Section' => $SectionID,
 608                                 'Owner' => $AssignedEdit,
 609                                 'Group' => $AssignedGroup,
 610                                 'Node' => $Node,
 611                                 'Subtree' => $Subtree,
 612                                 'Language' => $Language);
 613  
 614  $FunctionList['manage_locations'] = array( 'Class' => $ClassID,
 615                                             'Section' => $SectionID,
 616                                             'Owner' => $Assigned,
 617                                             'Subtree' => $Subtree );
 618  
 619  $FunctionList['hide'] = array( 'Subtree' => $Subtree );
 620  
 621  $FunctionList['reverserelatedlist'] = array();
 622  
 623  $FunctionList['translate'] = array( 'Class' => $ClassID,
 624                                      'Section' => $SectionID,
 625                                      'Owner' => $Assigned,
 626                                      'Node' => $Node,
 627                                      'Subtree' => $Subtree,
 628                                      'Language' => $Language);
 629  $FunctionList['remove'] = array( 'Class' => $ClassID,
 630                                   'Section' => $SectionID,
 631                                   'Owner' => $Assigned,
 632                                   'Node' => $Node,
 633                                   'Subtree' => $Subtree
 634                                   );
 635  
 636  $FunctionList['versionread'] = array( 'Class' => $ClassID,
 637                                        'Section' => $SectionID,
 638                                        'Owner' => $Assigned,
 639                                        'Status' => $VersionStatusRead,
 640                                        'Node' => $Node,
 641                                        'Subtree' => $Subtree);
 642  
 643  $FunctionList['versionremove'] = array( 'Class' => $ClassID,
 644                                          'Section' => $SectionID,
 645                                          'Owner' => $Assigned,
 646                                          'Status' => $VersionStatusRemove,
 647                                          'Node' => $Node,
 648                                          'Subtree' => $Subtree);
 649  
 650  $FunctionList['pdf'] = array( 'Class' => $ClassID,
 651                                'Section' => $SectionID,
 652                                'Owner' => $Assigned,
 653                                'Node' => $Node,
 654                                'Subtree' => $Subtree );
 655  
 656  $FunctionList['translations'] = array();
 657  $FunctionList['urltranslator'] = array();
 658  $FunctionList['pendinglist'] = array();
 659  
 660  $FunctionList['restore'] = array( );
 661  $FunctionList['cleantrash'] = array( );
 662  
 663  /*
 664  $ViewArray['view'] = array(
 665      'functions' => array( 'read', ''
 666      'script' => 'view.php',
 667      'params' => array( 'ViewMode', 'NodeID', 'LanguageCode' ),
 668      'unordered_params' => array( 'language' => 'Language',
 669                                   'offset' => 'Offset' )
 670      );
 671  
 672  */
 673  // Module definition
 674  
 675  
 676  
 677  
 678  
 679  ?>


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