Exemplo n.º 1
0
 /**
  * Fix line length
  *
  * @overwrite
  * @param string $message Message to wrap
  * @return array Wrapped message
  */
 protected function _wrap($message, $wrapLength = CakeEmail::LINE_LENGTH_MUST)
 {
     if ($this->_wrapLength !== null) {
         $wrapLength = $this->_wrapLength;
     }
     return parent::_wrap($message, $wrapLength);
 }
Exemplo n.º 2
0
 /**
  * Wrap to protected method
  *
  * @return array
  */
 public function wrap($text, $length = Email::LINE_LENGTH_MUST)
 {
     return parent::_wrap($text, $length);
 }