[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <?php 2 // 3 // Created on: <11-Aug-2003 18:11:32 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' => 'eZPackage' ); 28 29 $ViewList = array(); 30 $ViewList['list'] = array( 31 'functions' => array( 'list' ), 32 'script' => 'list.php', 33 'default_navigation_part' => 'ezsetupnavigationpart', 34 'single_post_actions' => array( 'ChangeRepositoryButton' => 'ChangeRepository', 35 'InstallPackageButton' => 'InstallPackage', 36 'RemovePackageButton' => 'RemovePackage', 37 'ConfirmRemovePackageButton' => 'ConfirmRemovePackage', 38 'CancelRemovePackageButton' => 'CancelRemovePackage', 39 'CreatePackageButton' => 'CreatePackage' ), 40 'post_action_parameters' => array( 'ChangeRepository' => array( 'RepositoryID' => 'RepositoryID' ), 41 'RemovePackage' => array( 'PackageSelection' => 'PackageSelection' ), 42 'ConfirmRemovePackage' => array( 'PackageSelection' => 'PackageSelection' ) ), 43 "unordered_params" => array( "offset" => "Offset" ), 44 'params' => array( 'RepositoryID' ) ); 45 46 $ViewList['upload'] = array( 47 'functions' => array( 'import' ), 48 'script' => 'upload.php', 49 'default_navigation_part' => 'ezsetupnavigationpart', 50 'single_post_actions' => array( 'UploadPackageButton' => 'UploadPackage', 51 'UploadCancelButton' => 'UploadCancel' ), 52 'params' => array() ); 53 54 $ViewList['create'] = array( 55 'functions' => array( 'create' ), 56 'script' => 'create.php', 57 'ui_context' => 'edit', 58 'default_navigation_part' => 'ezsetupnavigationpart', 59 'single_post_actions' => array( 'CreatePackageButton' => 'CreatePackage', 60 'PackageStep' => 'PackageStep' ), 61 'post_action_parameters' => array( 'CreatePackage' => array( 'CreatorItemID' => 'CreatorItemID' ), 62 'PackageStep' => array( 'CreatorItemID' => 'CreatorItemID', 63 'CreatorStepID' => 'CreatorStepID', 64 'PreviousStep' => 'PreviousStepButton', 65 'NextStep' => 'NextStepButton' ) ), 66 'params' => array() ); 67 68 $ViewList['export'] = array( 69 'functions' => array( 'export' ), 70 'script' => 'export.php', 71 'ui_context' => 'edit', 72 'default_navigation_part' => 'ezsetupnavigationpart', 73 'params' => array( 'PackageName' ) ); 74 75 $ViewList['view'] = array( 76 'functions' => array( 'read' ), 77 'script' => 'view.php', 78 'default_navigation_part' => 'ezsetupnavigationpart', 79 'single_post_actions' => array( 'InstallButton' => 'Install', 80 'UninstallButton' => 'Uninstall', 81 'ExportButton' => 'Export' ), 82 'params' => array( 'ViewMode', 'PackageName', 'RepositoryID' ) ); 83 84 $ViewList['install'] = array( 85 'functions' => array( 'install' ), 86 'script' => 'install.php', 87 'ui_context' => 'edit', 88 'default_navigation_part' => 'ezsetupnavigationpart', 89 'single_post_actions' => array( 'HandleError' => 'HandleError', 90 'InstallPackageButton' => 'InstallPackage', 91 'PackageStep' => 'PackageStep', 92 'SkipPackageButton' => 'SkipPackage' ), 93 'post_action_parameters' => array( 'InstallPackage' => array( 'InstallerType' => 'InstallerType' ), 94 'PackageStep' => array( 'InstallerType' => 'InstallerType', 95 'InstallStepID' => 'InstallStepID', 96 'PreviousStep' => 'PreviousStepButton', 97 'NextStep' => 'NextStepButton' ), 98 'HandleError' => array( 'ActionID' => 'ActionID', 99 'RememberAction' => 'RememberAction' ) ), 100 101 'params' => array( 'PackageName' ) ); 102 103 $ViewList['uninstall'] = array( 104 'functions' => array( 'install' ), 105 'script' => 'uninstall.php', 106 'ui_context' => 'edit', 107 'default_navigation_part' => 'ezsetupnavigationpart', 108 'single_post_actions' => array( 'HandleError' => 'HandleError', 109 'UninstallPackageButton' => 'UninstallPackage', 110 'SkipPackageButton' => 'SkipPackage' ), 111 'post_action_parameters' => array( 'HandleError' => array( 'ActionID' => 'ActionID', 112 'RememberAction' => 'RememberAction' ) ), 113 'params' => array( 'PackageName' ) ); 114 115 $TypeID = array( 116 'name'=> 'Type', 117 'values'=> array(), 118 'path' => 'classes/', 119 'file' => 'ezpackage.php', 120 'class' => 'eZPackage', 121 'function' => 'typeList', 122 'parameter' => array( false ) 123 ); 124 125 $CreatorTypeID = array( 126 'name'=> 'CreatorType', 127 'values'=> array(), 128 'path' => 'classes/', 129 'file' => 'ezpackagecreationhandler.php', 130 'class' => 'eZPackageCreationHandler', 131 'function' => 'creatorLimitationList', 132 'parameter' => array( false ) 133 ); 134 135 $RoleID = array( 136 'name'=> 'Role', 137 'values'=> array(), 138 'path' => 'classes/', 139 'file' => 'ezpackage.php', 140 'class' => 'eZPackage', 141 'function' => 'maintainerRoleListForRoles', 142 'parameter' => array( false ) 143 ); 144 145 $FunctionList['read'] = array( 'Type' => $TypeID ); 146 147 $FunctionList['list'] = array( 'Type' => $TypeID ); 148 149 $FunctionList['create'] = array( 'Type' => $TypeID, 150 'CreatorType' => $CreatorTypeID, 151 'Role' => $RoleID ); 152 $FunctionList['edit'] = array( 'Type' => $TypeID ); 153 154 $FunctionList['remove'] = array( 'Type' => $TypeID ); 155 156 157 $FunctionList['install'] = array( 'Type' => $TypeID ); 158 159 $FunctionList['import'] = array( 'Type' => $TypeID ); 160 161 $FunctionList['export'] = array( 'Type' => $TypeID ); 162 163 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |