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