public static function getFields(string $module)
    {
        $modules = Modules::findFirstByName($module);

        if ($modules) {
            return self::find([
                'modules_id = ?0',
                'bind' => [$modules->id],
                'columns' => 'name, label, type'
            ]);
        }

        return null;
    }
public static function getFields(string $module)
    {
        $modules = Modules::findFirstByName($module);

        if ($modules) {
            return self::find([
                'modules_id = ?0',
                'bind' => [$modules->id],
                'columns' => 'name, label, type'
            ]);
        }

        return null;
    }
public static function getFields ( string $ module ) { $ modules = Modules :: findFirstByName ( $ module ) ; if ( $ modules ) { return self :: find ( [ 'modules_id = ?0' , 'bind' => [ $ modules -> id ] , 'columns' => 'name, label, type' ] ) ; } return null ; }
Get the felds of this custom field module

@param string $module
@return void
Get the felds of this custom field module