<?php
 namespace Module\Doc\Type; use ModStart\Core\Type\BaseType; class DocVisit implements BaseType { const VISIT_PRIVATE = 1; const VISIT_PUBLIC = 2; const VISIT_PASSWORD = 3; public static function getList() { return [ self::VISIT_PRIVATE => '私有', self::VISIT_PUBLIC => '公开', self::VISIT_PASSWORD => '密码访问', ]; } }