CreditModel::__construct PHP 메소드

__construct() 공개 메소드

+---------------------------------------------------------- 架构函数 +----------------------------------------------------------
저자: melec制作
public __construct ( )
    public function __construct()
    {
        if (($this->creditType = S('_service_credit_type')) === false) {
            $this->creditType = M('credit_type')->order('id ASC')->findAll();
            S('_service_credit_type', $this->creditType);
        }
    }