视图注解
$data : array
附加数据
$baseDir : string
模版基础路径 abc-配置中设定的路径/abc/ /abc/-绝对路径
$template : string
模版路径
$renderType : string
渲染类型
$defaultFieldName : string
只传一个参数时的参数名
__construct( $data = array())
offsetGet( $offset)
__wakeup()
offsetExists( $offset)
offsetSet( $offset, $value)
offsetUnset( $offset)
current()
key()
next()
rewind()
valid()
__set( $name, $value)
__get( $name)
__isset( $name)
__unset( $name)
toArray() : array
将当前对象作为数组返回
jsonSerialize() : array
json 序列化