常用方法
常用方法
常用方法
常用方法
function __construct($data = null) { if (!empty($data)) { parent::__construct($data); $this->{$datasource} = $data; } }
function __construct($data = null) { if (!empty($data)) { parent::__construct($data); $this->{$datasource} = $data; } }