src/PicORM/Model.php
public static function getModelFields($includePrimary = true)
    {
        $fields = array();

        if ($includePrimary) {
            $fields[] = static::$_primaryKey;
        }
        foreach (static::$_tableFields as $unChamp) {
            $fields[] = $unChamp;
        }

        return $fields;
    }
public static function getModelFields($includePrimary = true)
    {
        $fields = array();

        if ($includePrimary) {
            $fields[] = static::$_primaryKey;
        }
        foreach (static::$_tableFields as $unChamp) {
            $fields[] = $unChamp;
        }

        return $fields;
    }
Return table field from Model

@param bool $includePrimary - Include or not primary key in returned array

@return array