public static function clearCache()
 {
     self::$collection = array();
     self::$resource = array();
 }