Interface luya\admin\ngrest\NgRestButtonConditionInterface

Implemented byluya\admin\aws\ApiOverviewActiveWindow, luya\admin\aws\ApiRequestInsightActiveWindow, luya\admin\aws\ChangePasswordActiveWindow, luya\admin\aws\CoordinatesActiveWindow, luya\admin\aws\DeleteTagsActiveWindow, luya\admin\aws\DetailViewActiveWindow, luya\admin\aws\FlowActiveWindow, luya\admin\aws\GroupAuthActiveWindow, luya\admin\aws\ImageSelectCollectionActiveWindow, luya\admin\aws\StorageFilterImagesActiveWindow, luya\admin\aws\TaggableActiveWindow, luya\admin\aws\UserHistorySummaryActiveWindow, luya\admin\buttons\DuplicateActiveButton, luya\admin\buttons\TimestampActiveButton, luya\admin\buttons\ToggleStatusActiveButton, luya\admin\ngrest\base\ActiveButton, luya\admin\ngrest\base\ActiveWindow, luya\cms\admin\aws\BlockPagesActiveWindow
Available since version4.0.0
Source Code https://github.com/luyadev/luya-module-admin/blob/master/src/ngrest/NgRestButtonConditionInterface.php

Ngrest Button Condition Interface

Public Methods

Hide inherited methods

Method Description Defined By
getCondition() Get the button condition or empty of not set luya\admin\ngrest\NgRestButtonConditionInterface
setCondition() Setter method for the button ng-show condition luya\admin\ngrest\NgRestButtonConditionInterface

Method Details

Hide inherited methods

getCondition() public abstract method (available since version 4.0.0)

Get the button condition or empty of not set

public abstract void getCondition ( )

                public function getCondition();

            
setCondition() public abstract method (available since version 4.0.0)

Setter method for the button ng-show condition

public abstract void setCondition ( $condition )
$condition string

                public function setCondition($condition);