Changeset 4 for ez_publish/ezipb/trunk
- Timestamp:
- 09/02/07 19:43:48 (16 months ago)
- Location:
- ez_publish/ezipb/trunk/autoloads
- Files:
-
- 2 modified
-
ezipb_operators.php (modified) (5 diffs)
-
eztemplateautoload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ez_publish/ezipb/trunk/autoloads/ezipb_operators.php
r3 r4 59 59 'ezipb_isadmin', 60 60 'ezipb_member', 61 'ezipb_md5_check' ); 61 'ezipb_md5_check', 62 'ezipb_vars' ); 62 63 } 63 64 … … 81 82 'ezipb_isadmin' => array( 'member_id' => array( 'type' => 'string', 'required' => false, 'default' => '' ) ), 82 83 'ezipb_member' => array( 'index' => array( 'type' => 'string', 'required' => false, 'default' => '' ) ), 83 'ezipb_md5_check' => array() 84 'ezipb_md5_check' => array(), 85 'ezipb_vars' => array( 'index' => array( 'type' => 'string', 'required' => false, 'default' => '' ) ), 84 86 ); 85 87 } … … 106 108 case 'ezipb_md5_check': 107 109 $operatorValue = $this->ipsclass->return_md5_check(); 110 case 'ezipb_vars': 111 $operatorValue = $this->ezipb_vars( $namedParameters['index'] ); 108 112 } 109 113 } … … 122 126 } 123 127 124 125 126 /**127 * Récupération des information sur le membre.128 *129 * @param String $index Index du tableau à récupérer130 * @return mixed131 */132 function ezipb_member ( $index ) {133 134 //print_r( $this->ipsclass->member );135 136 if ( empty( $index ) )137 return $this->ipsclass->member;138 139 return $this->ipsclass->member[$index];140 }141 128 142 129 … … 168 155 169 156 157 /** 158 * Récupération des information sur le membre. 159 * 160 * @param String $index Index du tableau à récupérer 161 * @return mixed 162 */ 163 function ezipb_member ( $index ) { 164 165 //print_r( $this->ipsclass->member ); 166 167 if ( empty( $index ) ) 168 return $this->ipsclass->member; 169 170 return $this->ipsclass->member[$index]; 171 } 172 173 174 175 /** 176 * Récupération des variables IPB du fichier 177 * conf_global.php 178 * 179 * @param string $index Index du tableau à récupérer 180 * @return mixed 181 */ 182 function ezipb_vars ( $index ) { 183 184 if ( empty( $index ) ) 185 return $this->ipsclass->vars; 186 187 return $this->ipsclass->vars[$index]; 188 } 189 190 170 191 } // EOC 171 192 -
ez_publish/ezipb/trunk/autoloads/eztemplateautoload.php
r3 r4 9 9 'ezipb_isadmin', 10 10 'ezipb_member', 11 'ezipb_md5_check' ) 11 'ezipb_md5_check', 12 'ezipb_vars' ) 12 13 ); 13 14 ?>
