TYPO3 CMS  TYPO3_6-2
DisabledAttribute.php
Go to the documentation of this file.
1 <?php
3 
23 
45  public function getValue() {
46  if (((int)$this->value === 1 || (bool) $this->value === TRUE) || strtolower((string) $this->value) === 'disabled') {
47  $attribute = 'disabled';
48  }
49  return $attribute;
50  }
51 
52 }