mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 13:36:12 +02:00
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
13 lines
281 B
PHP
13 lines
281 B
PHP
<?php
|
|
/**
|
|
* Transformation that disables all the fields on the form.
|
|
* @package forms
|
|
* @subpackage transformations
|
|
*/
|
|
class DisabledTransformation extends FormTransformation {
|
|
public function transform($field) {
|
|
return $field->performDisabledTransformation($this);
|
|
}
|
|
}
|
|
|
|
?>
|