Changeset 1239 for trunk/src/routing/AgaviRouting.class.php
- Timestamp:
- 11/05/06 00:50:01 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/routing/AgaviRouting.class.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/routing/AgaviRouting.class.php
r1131 r1239 75 75 * Initialize the routing instance. 76 76 * 77 * @param Agavi Context A Contextinstance.78 * @param array An array of initialization parameters.77 * @param AgaviResponse An AgaviResponse instance. 78 * @param array An array of initialization parameters. 79 79 * 80 80 * @author Dominik del Bondio <ddb@bitxtender.com> … … 730 730 $bracketCount = 0; 731 731 $hasBrackets = false; 732 // whether the regular expression is clean of any regular expression (\o/) 732 // whether the regular expression is clean of any regular expression 733 // so we can reverse generate it 733 734 $cleanRx = true; 734 735 … … 892 893 } 893 894 895 /** 896 * Parses an argument passed to one of the 'setting attributes' for dynamic 897 * parts. 898 * 899 * To access variables in the setters one can either use '$variable' (so the 900 * variable name makes up the entire argument) or 'text${variable}text' to 901 * add additional text. 902 * 903 * @param string The definition. 904 * 905 * @return mixed Either the definition if it didn't contain any dynamic 906 * parts or an array containing the definition prepared for 907 * sprintf use and the variables in the right order. 908 * 909 * @author Dominik del Bondio <ddb@bitxtender.com> 910 * @since 0.11.0 911 */ 894 912 protected function parseDynamicSet($definition) 895 913 { … … 922 940 } 923 941 942 /** 943 * Resolves all variables in a prepared dynamic set definition. 944 * 945 * @param array The definition of the dynamic argument. 946 * @param array The array to search for the variables in the argument. 947 * 948 * @return string The resulting string. 949 * 950 * @author Dominik del Bondio <ddb@bitxtender.com> 951 * @since 0.11.0 952 */ 924 953 protected function resolveDynamicSet($definition, $parameters) 925 954 {

