コード例 #1
0
ファイル: Propel.php プロジェクト: pgodel/PageRoller
 /**
  * Enable instance pooling (enabled by default).
  * 
  * @return boolean true if the method changed the instance pooling state,
  *                 false if it was already enabled
  */
 public static function enableInstancePooling()
 {
     if (self::$instancePoolingEnabled) {
         return false;
     }
     self::$instancePoolingEnabled = true;
     return true;
 }
コード例 #2
0
ファイル: Propel.php プロジェクト: JimmyVB/Symfony-v1.2
 /**
  * Enable instance pooling (enabled by default).
  */
 public static function enableInstancePooling()
 {
     self::$instancePoolingEnabled = true;
 }