protected static function _getDriver($profile) { return jProfiles::getOrStoreInPool('jcache', $profile, array('jCache', '_loadDriver'), true); }
/** * return a database connector. It uses a temporay pool of connection to reuse * currently opened connections. * * @param string $name profile name to use. if empty, use the default one * @return jDbConnection the connector */ public static function getConnection($name = '') { return jProfiles::getOrStoreInPool('jdb', $name, array('jDb', '_createConnector')); }
/** * @param string $profile the profile name */ public static function get($profile = '') { return jProfiles::getOrStoreInPool('jsoapclient', $profile, array('jSoapClient', '_getClient')); }