function __construct($data) { $meth = new Methods(); $this->filename = $meth->init_value_quote('filename', $data); $this->fileLength = $meth->init_value('fileLength', $data); $this->userCode = $meth->init_value('code', $data); }
function __construct($data) { $meth = new Methods(); $this->code = $meth->init_value_quote('code', $data); $this->page = $meth->init_value('page', $data); $this->number = $meth->init_value('number', $data); if ('' == $this->number) { $this->number = 10; } }
function __construct($data) { $meth = new Methods(); $this->fileName = $meth->init_value_quote('filename', $data); $this->userCode = $meth->init_value('code', $data); $this->contentLength = $meth->init_value('contentLength', $data); $this->contentType = $meth->init_value_quote('contentType', $data); $this->objectKey = $meth->init_value_quote('objectKey', $data); $this->Time = $meth->init_value_quote('time', $data); $this->audioTime = $meth->init_value_quote('audioTime', $data); $this->remark = $meth->init_value_quote('remark', $data); }