getReadOnly() public method

public getReadOnly ( ) : boolean
return boolean whether the textbox is read only, default is false.
Example #1
0
 /**
  * Update ClientSide Readonly property
  * @param boolean value
  * @since 3.1.2
  */
 public function setReadOnly($value)
 {
     $value = TPropertyValue::ensureBoolean($value);
     if (TTextBox::getReadOnly() === $value) {
         return;
     }
     TTextBox::setReadOnly($value);
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $this->callClientFunction('setReadOnly', $value);
     }
 }