library/core/class.form.php
public function BodyBox($Column = 'Body', $Attributes = array()) {
      TouchValue('MultiLine', $Attributes, TRUE);
      TouchValue('format', $Attributes, $this->GetValue('Format', C('Garden.InputFormatter')));
      TouchValue('Wrap', $Attributes, TRUE);
      TouchValue('class', $Attributes, '');
      $Attributes['class'] .= ' TextBox BodyBox';

      $this->SetValue('Format', $Attributes['format']);
      
      $this->EventArguments['Table'] = GetValue('Table', $Attributes);
      $this->EventArguments['Column'] = $Column;
      $this->FireEvent('BeforeBodyBox');
      
      return $this->TextBox($Column, $Attributes).$this->Hidden('Format');
   }
public function BodyBox($Column = 'Body', $Attributes = array()) {
      TouchValue('MultiLine', $Attributes, TRUE);
      TouchValue('format', $Attributes, $this->GetValue('Format', C('Garden.InputFormatter')));
      TouchValue('Wrap', $Attributes, TRUE);
      TouchValue('class', $Attributes, '');
      $Attributes['class'] .= ' TextBox BodyBox';

      $this->SetValue('Format', $Attributes['format']);
      
      $this->EventArguments['Table'] = GetValue('Table', $Attributes);
      $this->EventArguments['Column'] = $Column;
      $this->FireEvent('BeforeBodyBox');
      
      return $this->TextBox($Column, $Attributes).$this->Hidden('Format');
   }
public function BodyBox ( $ Column = 'Body' , $ Attributes = array ( ) ) { TouchValue ( 'MultiLine' , $ Attributes , TRUE ) ; TouchValue ( 'format' , $ Attributes , $ this -> GetValue ( 'Format' , C ( 'Garden.InputFormatter' ) ) ) ; TouchValue ( 'Wrap' , $ Attributes , TRUE ) ; TouchValue ( 'class' , $ Attributes , '' ) ; $ Attributes [ 'class' ] .= ' TextBox BodyBox' ; $ this -> SetValue ( 'Format' , $ Attributes [ 'format' ] ) ; $ this -> EventArguments [ 'Table' ] = GetValue ( 'Table' , $ Attributes ) ; $ this -> EventArguments [ 'Column' ] = $ Column ; $ this -> FireEvent ( 'BeforeBodyBox' ) ; return $ this -> TextBox ( $ Column , $ Attributes ) . $ this -> Hidden ( 'Format' ) ; }
A special text box for formattable text.

Formatting plugins like ButtonBar will auto-attach to this element.

@param string $Column
@param array $Attributes
@since 2.1
@return string HTML element.
A special text box for formattable text .