Changeset 6f6efa2 in github


Ignore:
Timestamp:
Mar 5, 2011 12:09:46 PM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
fb061aa
Parents:
6a4bccb
Message:
  • Add html_table::remove_body() function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/html.php

    r0501b63 r6f6efa2  
    525525    } 
    526526 
    527  
    528527    /** 
    529528     * Get HTML code for this object 
     
    649648    } 
    650649 
    651  
    652650    /** 
    653651     * Jump to next row 
     
    730728      return count($this->rows); 
    731729    } 
    732 } 
    733  
     730 
     731    /** 
     732     * Remove table body (all rows) 
     733     */ 
     734    public function remove_body() 
     735    { 
     736        $this->rows     = array(); 
     737        $this->rowindex = 0; 
     738    } 
     739 
     740} 
     741 
Note: See TracChangeset for help on using the changeset viewer.