[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/kernel/user/ -> function_definition.php (source)

   1  <?php
   2  //
   3  // Created on: <06-Oct-2002 16:01:10 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  /*! \file function_definition.php
  28  */
  29  
  30  $FunctionList = array();
  31  $FunctionList['current_user'] = array( 'name' => 'current_user',
  32                                         'operation_types' => array( 'read' ),
  33                                         'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  34                                                                 'class' => 'eZUserFunctionCollection',
  35                                                                 'method' => 'fetchCurrentUser' ),
  36                                         'parameter_type' => 'standard',
  37                                         'parameters' => array() );
  38  
  39  $FunctionList['is_logged_in'] = array( 'name' => 'is_logged_in',
  40                                         'operation_types' => array( 'read' ),
  41                                         'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  42                                                                 'class' => 'eZUserFunctionCollection',
  43                                                                 'method' => 'fetchIsLoggedIn' ),
  44                                         'parameter_type' => 'standard',
  45                                         'parameters' => array( array( 'name' => 'user_id',
  46                                                                       'type' => 'integer',
  47                                                                       'required' => true ) ) );
  48  
  49  $FunctionList['logged_in_count'] = array( 'name' => 'logged_in_count',
  50                                            'operation_types' => array( 'read' ),
  51                                            'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  52                                                                    'class' => 'eZUserFunctionCollection',
  53                                                                    'method' => 'fetchLoggedInCount' ),
  54                                            'parameter_type' => 'standard',
  55                                            'parameters' => array() );
  56  
  57  $FunctionList['anonymous_count'] = array( 'name' => 'anonymous_count',
  58                                            'operation_types' => array( 'read' ),
  59                                            'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  60                                                                    'class' => 'eZUserFunctionCollection',
  61                                                                    'method' => 'fetchAnonymousCount' ),
  62                                            'parameter_type' => 'standard',
  63                                            'parameters' => array() );
  64  
  65  $FunctionList['logged_in_list'] = array( 'name' => 'logged_in_list',
  66                                           'operation_types' => array( 'read' ),
  67                                           'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  68                                                                   'class' => 'eZUserFunctionCollection',
  69                                                                   'method' => 'fetchLoggedInList' ),
  70                                           'parameter_type' => 'standard',
  71                                           'parameters' => array( array( 'name' => 'sort_by',
  72                                                                         'type' => 'mixed',
  73                                                                         'required' => false ),
  74                                                                  array( 'name' => 'offset',
  75                                                                         'type' => 'integer',
  76                                                                         'required' => false ),
  77                                                                  array( 'name' => 'limit',
  78                                                                         'type' => 'integer',
  79                                                                         'required' => false ) ) );
  80  
  81  $FunctionList['logged_in_users'] = array( 'name' => 'logged_in_users',
  82                                            'operation_types' => array( 'read' ),
  83                                            'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  84                                                                    'class' => 'eZUserFunctionCollection',
  85                                                                    'method' => 'fetchLoggedInUsers' ),
  86                                            'parameter_type' => 'standard',
  87                                            'parameters' => array( array( 'name' => 'sort_by',
  88                                                                          'type' => 'mixed',
  89                                                                          'required' => false ),
  90                                                                   array( 'name' => 'offset',
  91                                                                          'type' => 'integer',
  92                                                                          'required' => false ),
  93                                                                   array( 'name' => 'limit',
  94                                                                          'type' => 'integer',
  95                                                                          'required' => false ) ) );
  96  $FunctionList['user_role'] = array( 'name' => 'user_role',
  97                                      'operation_types' => array( 'read' ),
  98                                      'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
  99                                                              'class' => 'eZUserFunctionCollection',
 100                                                              'method' => 'fetchUserRole' ),
 101                                      'parameter_type' => 'standard',
 102                                      'parameters' => array( array( 'name' => 'user_id',
 103                                                                    'type' => 'integer',
 104                                                                    'required' => true ) ) );
 105  
 106  
 107  $FunctionList['member_of'] = array( 'name' => 'member_of',
 108                                      'operation_types' => array( 'read' ),
 109                                      'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
 110                                                              'class' => 'eZUserFunctionCollection',
 111                                                              'method' => 'fetchMemberOf' ),
 112                                      'parameter_type' => 'standard',
 113                                      'parameters' => array( array( 'name' => 'id',
 114                                                                    'type' => 'integer',
 115                                                                    'required' => true ) ) );
 116  
 117  $FunctionList['has_access_to'] = array( 'name' => 'has_access_to',
 118                                          'operation_types' => array(),
 119                                          'call_method' => array( 'include_file' => 'kernel/user/ezuserfunctioncollection.php',
 120                                                                  'class' => 'eZUserFunctionCollection',
 121                                                                  'method' => 'hasAccessTo' ),
 122                                          'parameter_type' => 'standard',
 123                                          'parameters' => array( array( 'name' => 'module',
 124                                                                        'type' => 'string',
 125                                                                        'required' => true ),
 126                                                                 array( 'name' => 'function',
 127                                                                        'type' => 'string',
 128                                                                        'required' => true ),
 129                                                                 array( 'name' => 'user_id',
 130                                                                        'type' => 'integer',
 131                                                                        'required' => false ) ) );
 132  
 133  ?>


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