TYPO3 CMS  TYPO3_6-2
CheckedAttribute.php
Go to the documentation of this file.
1 <?php
3 
23 
36  public function getValue() {
37  if (((int)$this->value === 1 || (bool) $this->value === TRUE) || strtolower((string) $this->value === 'checked')) {
38  $attribute = 'checked';
39  }
40  return $attribute;
41  }
42 
43 }