You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/UIKit.php

23 lines
327 B
PHTML

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UIKit extends Model
{
protected $table = 'uikit';
6 months ago
protected $fillable = [
6 months ago
'k',
'v',
'defv',
'dhis',
];
public static function section($k)
{
6 months ago
return (new self)->where('k', $k)->first()->v;
}
}