extends |
Scope |
|---|
The root scope object used in the Model::$scope property All other conditions of the Model object are elements of the root scope Scope elements are joined always using AND junction.
| Methods | ||
|---|---|---|
protected
|
__construct(array $conditions = [])
|
# |
public
|
setModel(Model $model): $this
|
# |
public
|
getModel(): Model
|
# |
public
|
negate(): self
|
# |
public
static
|
createAnd(...$conditions): Scope
|
# |
public
static
|
createOr(...$conditions): Scope
|
# |
| Methods inherited from Atk4\Data\Model\Scope |
|---|
__clone(), addCondition(), getNestedConditions(), onChangeModel(), isEmpty(), isCompound(), getJunction(), isOr(), isAnd(), clear(), simplify(), toWords(), |
| Methods inherited from Atk4\Data\Model\Scope\AbstractScope |
|---|
init(), getOwner() |
| Methods used from Atk4\Core\InitializerTrait |
|---|
isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Methods used from Atk4\Core\WarnDynamicPropertyTrait |
|---|
warnPropertyDoesNotExist(), __isset(), __get(), __set(), __unset() |
| Methods used from Atk4\Core\ContainerTrait |
|---|
_uniqueElementName(), add(), _addContainer(), removeElement(), _shorten(), getElement(), hasElement() |
| Constants inherited from Atk4\Data\Model\Scope |
|---|
|
| Properties | |||
|---|---|---|---|
protected
|
Model
|
$model
|
# |
| Properties inherited from Atk4\Data\Model\Scope |
|---|
$junction, $elements |
| Properties used from Atk4\Core\InitializerTrait |
|---|
$_initialized |
| Properties used from Atk4\Core\TrackableTrait |
|---|
$_owner, $shortName |
| Properties used from Atk4\Core\ContainerTrait |
|---|
$_elementNameCounts |