[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <?php 2 // 3 // Definition of Test class 4 // 5 // Created on: <04-Nov-2002 12:12:53 amos> 6 // 7 // SOFTWARE NAME: eZ publish 8 // SOFTWARE RELEASE: 3.9.0 9 // BUILD VERSION: 17785 10 // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS 11 // SOFTWARE LICENSE: GNU General Public License v2.0 12 // NOTICE: > 13 // This program is free software; you can redistribute it and/or 14 // modify it under the terms of version 2.0 of the GNU General 15 // Public License as published by the Free Software Foundation. 16 // 17 // This program is distributed in the hope that it will be useful, 18 // but WITHOUT ANY WARRANTY; without even the implied warranty of 19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 // GNU General Public License for more details. 21 // 22 // You should have received a copy of version 2.0 of the GNU General 23 // Public License along with this program; if not, write to the Free 24 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 25 // MA 02110-1301, USA. 26 // 27 // 28 29 /*! \file test.php 30 */ 31 32 /*! 33 \class Test test.php 34 \brief The class Test does 35 36 */ 37 38 39 foreach ( $a as $b ) // #1 correct 40 { 41 } 42 43 foreach( $a as $b ) // #2 44 { 45 } 46 47 foreach ( $a as $b ) // #3 48 { 49 } 50 51 foreach ($a as $b) // #4 52 { 53 } 54 55 foreach ( $a as $b ) { // #5 56 } 57 58 foreach ( $a_b as $c_d ) // #6 correct 59 { 60 } 61 62 /* #7 correct */ foreach ( $a as $b ) 63 { 64 } 65 66 foreach ( array_keys( $assignedNodes ) as $key ) // #8 correct 67 { 68 } 69 70 foreach ( $tpl_vars as $tpl_var_name => $tpl_var_value ) // #9 correct 71 { 72 } 73 74 foreach ( $currentVersion->attributes() as $attribute ) // #10 correct 75 { 76 } 77 78 foreach ( $this->attribute( 'policies' ) as $policy ) // #11 correct 79 { 80 } 81 82 foreach ( $this->attribute( 'policies', $abc, 'asdfasdf' ) as $policy ) // #12 correct 83 { 84 } 85 86 ?>
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 |