Class Entry
Model for the channel_titles table, joined with channel_data
- Illuminate\Database\Eloquent\Model
- rsanchez\Deep\Model\AbstractEntity
- rsanchez\Deep\Model\Title uses rsanchez\Deep\Model\JoinableTrait, rsanchez\Deep\Model\GlobalAttributeVisibilityTrait
- rsanchez\Deep\Model\Entry
public static
|
#
setFieldRepository(
Set the global FieldRepository |
public
Illuminate\Database\Eloquent\Builder
|
|
public
|
|
protected
array
|
|
public
|
|
public
Illuminate\Database\Eloquent\Builder
|
#
scopeSearch( Illuminate\Database\Eloquent\Builder $query, string $fieldName, string $value )
Filter by Custom Field Search |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeSearchString( Illuminate\Database\Eloquent\Builder $query, string $fieldName, string $string )
Filter by custom field search: string parameter |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeTagparams( Illuminate\Database\Eloquent\Builder $query, array $parameters, array $request = array() )
Apply an array of parameters |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeTagparam( Illuminate\Database\Eloquent\Builder $query, string $key, string $value )
Apply a single parameter |
protected
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldHandler( Illuminate\Database\Eloquent\Builder $query, string $method, array $args )
Translates a custom field name to field_id_x and performs a where query |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrderByField( Illuminate\Database\Eloquent\Builder $query, string $fieldName, string $direction = 'asc' )
Order by custom field |
public
Illuminate\Database\Eloquent\Builder
|
|
public
Illuminate\Database\Eloquent\Builder
|
|
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldBetween( Illuminate\Database\Eloquent\Builder $query )
Where custom field is between |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldBetween( Illuminate\Database\Eloquent\Builder $query )
Or where custom field is between |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldNotBetween( Illuminate\Database\Eloquent\Builder $query )
Where custom field is not between |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldNotBetween( Illuminate\Database\Eloquent\Builder $query )
Or where custom field is not between |
public
Illuminate\Database\Eloquent\Builder
|
|
public
Illuminate\Database\Eloquent\Builder
|
|
public
Illuminate\Database\Eloquent\Builder
|
|
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldNotIn( Illuminate\Database\Eloquent\Builder $query )
Or where custom field is not in |
public
Illuminate\Database\Eloquent\Builder
|
|
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldNull( Illuminate\Database\Eloquent\Builder $query )
Or where custom field is null |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldNotNull( Illuminate\Database\Eloquent\Builder $query )
Where custom field is not null |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldNotNull( Illuminate\Database\Eloquent\Builder $query )
Or where custom field is not null |
protected
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldContainsHandler( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value, string $boolean = 'and', boolean $not = false, boolean $wholeWord = false )
Translates a custom field name to field_id_x and performs a where like/regexp query |
protected
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldContainsManyHandler( Illuminate\Database\Eloquent\Builder $query, string $fieldName, array $values, string $boolean = 'and', boolean $not = false, boolean $wholeWord = false )
Like scopeWhereFieldContainsHandler, but with many values |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldContains( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Where field contains |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldDoesNotContain( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Where field does not contain |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldContains( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Or where field contains |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldDoesNotContain( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Or where field does not contain |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldContainsWholeWord( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Where field contains whole word |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeWhereFieldDoesNotContainWholeWord( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Where field does not contain whole word |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldContainsWholeWord( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Or where field contains whole word |
public
Illuminate\Database\Eloquent\Builder
|
#
scopeOrWhereFieldDoesNotContainWholeWord( Illuminate\Database\Eloquent\Builder $query, string $fieldName, mixed $value )
Or where field does not contain whole word |
(),
(),
(),
()
|
(),
(),
(),
(),
()
|
protected
string
|
$collectionClass | '\\rsanchez\\Deep\\Collection\\EntryCollection' |
#
The class used when creating a new Collection |
public static
|
$fieldRepository |
|
#
Global Field Repository |
$channelRepository,
$defaultChannelName,
$extraHydrators,
$globalHidden,
$globalVisible,
$hydratorFactory,
$primaryKey,
$siteRepository,
$table
|