Changeset 2508

Show
Ignore:
Timestamp:
05/30/08 18:05:30 (7 months ago)
Author:
david
Message:

Removed deprecated stuff for 1.0, closes #466

Location:
trunk/src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/config/AgaviConfig.class.php

    r2294 r2508  
    162162 
    163163  /** 
    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.0 
    172    */ 
    173   public static function export() 
    174   { 
    175     return self::toArray(); 
    176   } 
    177  
    178   /** 
    179164   * Clear the configuration. 
    180165   * 
  • trunk/src/request/AgaviRequest.class.php

    r2376 r2508  
    143143 
    144144  /** 
    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.0 
    153    */ 
    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.0 
    168    */ 
    169   public function getActionAccessor() 
    170   { 
    171     return $this->getParameter('action_accessor'); 
    172   } 
    173  
    174   /** 
    175145   * Set the data holder instance of this request. 
    176146   * 
  • trunk/src/routing/AgaviRouting.class.php

    r2495 r2508  
    884884    // set the list of matched route names as a request attribute 
    885885    $req->setAttribute('matched_routes', $matchedRoutes, 'org.agavi.routing'); 
    886     // deprecated 
    887     $req->setAttribute('matchedRoutes', $matchedRoutes, 'org.agavi.routing'); 
    888886 
    889887    // return a list of matched route names 
  • trunk/src/translation/AgaviTranslationManager.class.php

    r2259 r2508  
    590590 
    591591  /** 
    592    * @see        AgaviTranslationManager::getLocaleIdentifier 
    593    * 
    594    * @deprecated Superseded by AgaviTranslationManager::getLocaleIdentifier() 
    595    */ 
    596   public function getClosestMatchingLocale($identifier) 
    597   { 
    598     return $this->getLocaleIdentifier($identifier); 
    599   } 
    600    
    601   /** 
    602592   * Returns the identifier of the available locale which matches the given  
    603593   * locale identifier most. 
     
    658648  } 
    659649 
    660   /** 
    661    * @see        AgaviTranslationManager::getLocale 
    662    * 
    663    * @deprecated Superseded by AgaviTranslationManager::getLocale() 
    664    */ 
    665   public function getLocaleFromIdentifier($identifier) 
    666   { 
    667     return $this->getLocale($identifier); 
    668   } 
    669    
    670650  /** 
    671651   * Returns a new AgaviLocale object from the given identifier.