/** * Set the restrictions for this callback. * * @param null|string $dataContainerName The name of the data container to limit execution on. * * @param null|string $operationName The name of the operation button to limit execution on. * * @return void */ public function setRestrictions($dataContainerName = null, $operationName = null) { parent::setRestrictions($dataContainerName); $this->operationName = $operationName; }
/** * Set the restrictions for this callback. * * @param null|string $dataContainerName The name of the data container to limit execution on. * * @param null|string $propertyName The name of the property to limit execution on. * * @return void */ public function setRestrictions($dataContainerName = null, $propertyName = null) { parent::setRestrictions($dataContainerName); $this->propertyName = $propertyName; }