PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Tables
Child packages:

    internal package Foswiki::Tables::Cell

    Abstract model of a table cell, suitable for use with the tables parser.

    ClassMethod new($row, $precruft, $text, $postcruft, $isHeader) → $cell

    Construct a new table cell.

    • $row - the row the cell belongs to (Foswiki::Tables::Row or subclass)
    • $precruft - whatever precedes the text inside the cell (spaces)
    • $text - the text stored in the cell
    • $postcruft - whatever follows the text inside the cell (spaces)
    • $isHeader - true if this is a header cell (content delimited by **)

    Note that $postcruft and $precruft should not include the * indicating a header.

    ObjectMethod number([$set]) → $number

    Setter/getter for the cell number. The number uniquely identifies the cell within the context of a row. The cell number is undef until it is set by some external agency (e.g. the row)

    ObjectMethod finish()

    Clean up for disposal

    ObjectMethod stringify()

    Generate a TML representation of the row

    ObjectMethod getID() → $id

    Generate a unique string ID that uniquely identifies this cell within a topic.

    Topic revision: r1 - 2024-12-23, UnknownUser

    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback