public function initialize($args) {/*{{{*/ if (isset($args['_master_']) && $args['_master_']) { BeanFinder::get('dbexecuter')->mustUseMaster(); } $configs = $this->prepareConfigs(); BeanFinder::register('configs', $configs); BeanFinder::register('idgenter', IDGenterClient::getInstance()); }/*}}}*/
private static function initForService($path, $encoding) { /*{{{*/ self::init($path, $encoding); BeanFinder::register('idgenter', IDGenterClient::getInstance()); }
public function __construct() {/*{{{*/ $this->m = IDGenterClient::getInstance();; }/*}}}*/