for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* RisolutoModelBase
*
* ユーザアプリ向けモデル用基底クラス
* @package risoluto
* @author Risoluto Developers
* @license http://opensource.org/licenses/bsd-license.php new BSD license
* @copyright (C) 2008-2015 Risoluto Developers / All Rights Reserved.
*/
//------------------------------------------------------//
// 名前空間の定義
namespace Risoluto;
abstract class RisolutoModelBase
{
// クラス変数定義
* $obj_db
* @access protected
* @var object Dbクラスのオブジェクト
protected $db;
* __construct()
* コンストラクタ
public function __construct()
$this->db = new Db();
}
* __destruct()
* デストラクタ
public function __destruct()
unset( $this->db );