Diff for /db/prgsrc/drupal/modules/chgk_db/classes/DbField.class.php between versions 1.6 and 1.8

version 1.6, 2010/03/21 18:06:04 version 1.8, 2010/04/24 18:04:15
Line 7  class DbField { Line 7  class DbField {
   protected $value;     protected $value; 
   protected $number;    protected $number;
   protected $html;    protected $html;
     protected $paragraphs;
     protected $fb2;
     protected $poems;
     protected $codes;
   
   public function __construct($field, $value, $number = false) {    public function __construct($field, $value, $number = false) {
     $this->field = $field;      $this->field = $field;
     $this->value = $value;      $this->value = $value;
Line 98  class DbField { Line 103  class DbField {
       foreach ($lines as $l) {        foreach ($lines as $l) {
           if (preg_match('/^[\s\|]/', $l)) {            if (preg_match('/^[\s\|]/', $l)) {
               $this->paragraphs[] = $current;                $this->paragraphs[] = $current;
               $current = $l;                $current = $l ."\n";
           }  else {            }  else {
              $current .= $l."\n" ;               $current .= $l."\n" ;
           }            }

Removed from v.1.6  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>