Changeset 7655 for trunk/phpgwapi/inc/class.xml.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.xml.inc.php
r6037 r7655 291 291 292 292 // Calculate the amount of whitespaces to display. 293 for ( $i = 0; $i < ( $level * 2 ); $i++)293 for ( $i = 0; $i < ( $level * 2 ); ++$i ) 294 294 { 295 295 // Add a whitespaces to the string. … … 377 377 { 378 378 // Run through all children with the same name. 379 for ( $i = 1; $i <= $pos; $i++)379 for ( $i = 1; $i <= $pos; ++$i ) 380 380 { 381 381 // Generate the full path of the child. … … 552 552 553 553 // Now run through the siblings. 554 for ( $i = 1; $i <= $siblings; $i++)554 for ( $i = 1; $i <= $siblings; ++$i ) 555 555 { 556 556 // Create the name of the sibling. … … 564 564 565 565 // Increase the counter. 566 $counter++;566 ++$counter; 567 567 568 568 // Add the old and the new name to the list of nodes … … 1215 1215 1216 1216 // Run through the string. 1217 for ( $i = 0; $i < strlen($term); $i++)1217 for ( $i = 0; $i < strlen($term); ++$i ) 1218 1218 { 1219 1219 // Get the character at the position of the string. … … 1224 1224 { 1225 1225 // Increase the number of brackets. 1226 $brackets++;1226 ++$brackets; 1227 1227 } 1228 1228 elseif ( ( $character == ")" ) || ( $character == "]" ) ) … … 1922 1922 { 1923 1923 // Run through all childs with this name. 1924 for ( $i = 1; $i <= $child_position; $i++)1924 for ( $i = 1; $i <= $child_position; ++$i ) 1925 1925 { 1926 1926 // Create the path of the child. … … 2076 2076 { 2077 2077 // Run through all children of this name. 2078 for ( $i = 1; $i <= $child_position; $i++)2078 for ( $i = 1; $i <= $child_position; ++$i ) 2079 2079 { 2080 2080 // Create the full path for the children. … … 2669 2669 2670 2670 // Run through each argument and evaluate it. 2671 for ( $i = 0; $i < sizeof($arguments); $i++)2671 for ( $i = 0; $i < sizeof($arguments); ++$i ) 2672 2672 { 2673 2673 // Trim each argument. … … 2840 2840 2841 2841 // Run through all arguments. 2842 for ( $i = 0; $i < sizeof($arguments); $i++)2842 for ( $i = 0; $i < sizeof($arguments); ++$i ) 2843 2843 { 2844 2844 // Trim the string. … … 2911 2911 2912 2912 // Run through all arguments. 2913 for ( $i = 0; $i < sizeof($arguments); $i++)2913 for ( $i = 0; $i < sizeof($arguments); ++$i ) 2914 2914 { 2915 2915 // Trim the argument. … … 3371 3371 3372 3372 // Run through the array of arguments. 3373 for ( $i = 1; $i < sizeof($arguments); $i++)3373 for ( $i = 1; $i < sizeof($arguments); ++$i ) 3374 3374 { 3375 3375 // Add the number of the argument to the command.
Note: See TracChangeset
for help on using the changeset viewer.