<?php
 namespace Module\Doc\Util; use ModStart\Core\Dao\ModelUtil; class DocCategoryUtil { public static function all($memberUserId) { return ModelUtil::all( 'doc_category', ['memberUserId' => $memberUserId], ['uid', 'parentUid', 'sort', 'name', 'color'] ); } }