Show
Ignore:
Timestamp:
09/04/07 20:27:23 (16 months ago)
Author:
llaumgui
Message:

Optimisations et correction.
L'opérateur fetch_topic disparait !

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ez_publish/ezipb/trunk/classes/ezipb.php

    r9 r18  
    3939         
    4040         
    41         /*! 
    42          * Constructor 
     41        /** 
     42         * Constructeur 
    4343         */ 
    4444        function __construct() { 
     
    8383                //echo "<pre>" . print_r( $this->ipsclass->DB->obj['cached_queries'] ) . "</pre>"; 
    8484        } 
    85 } 
     85         
     86         
     87        /** 
     88         * Permet d'instancier l'objet ezipb. 
     89         * 
     90         * @return object ezipb 
     91         */ 
     92        static function instance() { 
     93 
     94                $impl =& $GLOBALS["ezipbGlobalInstance"]; 
     95         
     96        $class = strtolower( get_class( $impl ) );   
     97        if ( $class != "ezipb" ) 
     98            $impl = new ezipb(); 
     99             
     100        return $impl; 
     101         } 
     102                 
     103}       // EOC 
    86104 
    87105?>