Public Member Functions |
Static Public Member Functions |
Protected Attributes |
List of all members
App\Models\Statuslabel Class Reference
Inheritance diagram for App\Models\Statuslabel:
Public Member Functions | |
| has_assets () | |
| getStatuslabelType () | |
| scopeTextSearch ($query, $search) | |
| Query builder scope to search on text. More... | |
Static Public Member Functions | |
| static | getStatuslabelTypesForDB ($type) |
Protected Attributes | |
| $injectUniqueIdentifier = true | |
| $dates = ['deleted_at'] | |
| $table = 'status_labels' | |
| $rules | |
| $fillable = ['name'] | |
Detailed Description
Definition at line 8 of file Statuslabel.php.
Member Function Documentation
| App\Models\Statuslabel::getStatuslabelType | ( | ) |
Definition at line 31 of file Statuslabel.php.
|
static |
Definition at line 45 of file Statuslabel.php.
| App\Models\Statuslabel::has_assets | ( | ) |
Definition at line 26 of file Statuslabel.php.
| App\Models\Statuslabel::scopeTextSearch | ( | $query, | |
| $search | |||
| ) |
Query builder scope to search on text.
- Parameters
-
Illuminate\Database\Query\Builder $query Query builder instance text $search Search term
- Returns
- Illuminate Modified query builder
Definition at line 79 of file Statuslabel.php.
Member Data Documentation
|
protected |
Definition at line 14 of file Statuslabel.php.
|
protected |
Definition at line 24 of file Statuslabel.php.
|
protected |
Definition at line 13 of file Statuslabel.php.
|
protected |
Initial value:
= array(
'name' => 'required|string|unique:status_labels,name,NULL,deleted_at',
'notes' => 'string',
)
Definition at line 18 of file Statuslabel.php.
|
protected |
Definition at line 15 of file Statuslabel.php.
The documentation for this class was generated from the following file:
