/** * インスタンス取得 * * @since 2011-11-07 * @author Imaeda */ public static function getInstance() { if (!is_object(DbControl::$_singleton)) { DbControl::$_singleton = new DbControl(); } return DbControl::$_singleton; }