Contao\BackendUser::canEditFieldsOf PHP 메소드

canEditFieldsOf() 공개 메소드

Return true if there is at least one allowed excluded field
public canEditFieldsOf ( string $table ) : boolean
$table string
리턴 boolean
    public function canEditFieldsOf($table)
    {
        if ($this->isAdmin) {
            return true;
        }
        return count(preg_grep('/^' . preg_quote($table, '/') . '::/', $this->alexf)) > 0;
    }