Changeset 2508
- Timestamp:
- 05/30/08 18:05:30 (7 months ago)
- Location:
- trunk/src
- Files:
-
- 4 modified
-
config/AgaviConfig.class.php (modified) (1 diff)
-
request/AgaviRequest.class.php (modified) (1 diff)
-
routing/AgaviRouting.class.php (modified) (1 diff)
-
translation/AgaviTranslationManager.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/config/AgaviConfig.class.php
r2294 r2508 162 162 163 163 /** 164 * Get all configuration directives and values.165 *166 * @return array An associative array of configuration values.167 *168 * @deprecated Use toArray() instead.169 *170 * @author David Zülke <dz@bitxtender.com>171 * @since 0.11.0172 */173 public static function export()174 {175 return self::toArray();176 }177 178 /**179 164 * Clear the configuration. 180 165 * -
trunk/src/request/AgaviRequest.class.php
r2376 r2508 143 143 144 144 /** 145 * Get the name of the request parameter that defines which module to use.146 *147 * @return string The module accessor name.148 *149 * @deprecated Use getParameter('module_accessor') instead.150 *151 * @author David Zülke <dz@bitxtender.com>152 * @since 0.11.0153 */154 public function getModuleAccessor()155 {156 return $this->getParameter('module_accessor');157 }158 159 /**160 * Get the name of the request parameter that defines which action to use.161 *162 * @return string The action accessor name.163 *164 * @deprecated Use getParameter('action_accessor') instead.165 *166 * @author David Zülke <dz@bitxtender.com>167 * @since 0.11.0168 */169 public function getActionAccessor()170 {171 return $this->getParameter('action_accessor');172 }173 174 /**175 145 * Set the data holder instance of this request. 176 146 * -
trunk/src/routing/AgaviRouting.class.php
r2495 r2508 884 884 // set the list of matched route names as a request attribute 885 885 $req->setAttribute('matched_routes', $matchedRoutes, 'org.agavi.routing'); 886 // deprecated887 $req->setAttribute('matchedRoutes', $matchedRoutes, 'org.agavi.routing');888 886 889 887 // return a list of matched route names -
trunk/src/translation/AgaviTranslationManager.class.php
r2259 r2508 590 590 591 591 /** 592 * @see AgaviTranslationManager::getLocaleIdentifier593 *594 * @deprecated Superseded by AgaviTranslationManager::getLocaleIdentifier()595 */596 public function getClosestMatchingLocale($identifier)597 {598 return $this->getLocaleIdentifier($identifier);599 }600 601 /**602 592 * Returns the identifier of the available locale which matches the given 603 593 * locale identifier most. … … 658 648 } 659 649 660 /**661 * @see AgaviTranslationManager::getLocale662 *663 * @deprecated Superseded by AgaviTranslationManager::getLocale()664 */665 public function getLocaleFromIdentifier($identifier)666 {667 return $this->getLocale($identifier);668 }669 670 650 /** 671 651 * Returns a new AgaviLocale object from the given identifier.

