Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 89346381d9fb64d9ee8827de5f073355 > files > 132

php-pear-HTML_Progress2-2.4.1-3mdv2010.0.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>
      HTML_Progress2::setCellAttributes
    </title>
    <link rel="stylesheet" href="book.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />
    <link rel="start" href="index.html" title="HTML_Progress2 Manual" />
    <link rel="up" href="ch19s04.html#reference.api.graph.cell" title=
    "Cells " />
    <link rel="prev" href="re24.html" title=
    "HTML_Progress2::getCellAttributes" />
    <link rel="next" href="re26.html" title=
    "HTML_Progress2::getCellCoordinates" />
    <style type="text/css">
/*<![CDATA[*/
    body {
    background-color: white;
    color: black;
    }
    :link { color: #0000FF }
    :visited { color: #840084 }
    :active { color: #0000FF }
    table.c1 {padding-bottom: 1em}
    /*]]>*/
    </style>
  </head>
  <body>
    <table class="progress2Header">
      <tr>
        <td>
          <img src="img/pear_progress2.gif" align="left" alt=
          "PEAR Progress2 logo" />
          <h1>
            HTML_Progress2 : The Definitive Guide
          </h1>
          <div class="navheader">
            <table width="100%" summary="Navigation header">
              <tr>
                <th colspan="3" align="center">
                  <code class=
                  "function">HTML_Progress2::setCellAttributes</code>
                </th>
              </tr>
              <tr>
                <td width="20%" align="left">
                  <a accesskey="p" href="re24.html">Prev</a>&nbsp;
                </td>
                <th width="60%" align="center">
                  Cells
                </th>
                <td width="20%" align="right">
                  &nbsp;<a accesskey="n" href="re26.html">Next</a>
                </td>
              </tr>
            </table>
          </div>
        </td>
      </tr>
    </table>
    <div class="refentry" lang="en" xml:lang="en">
      <a name="package.html.html-progress2.html-progress2.setcellattributes"
      id="package.html.html-progress2.html-progress2.setcellattributes"></a>
      <div class="titlepage"></div>
      <div class="refnamediv">
        <h2>
          Name
        </h2>
        <p>
          <code class="function">HTML_Progress2::setCellAttributes</code>
          &mdash; Sets cell attributes values
        </p>
      </div>
      <div class="refsynopsisdiv">
        <h2>
          Synopsis
        </h2>
        <div class="funcsynopsis">
          <pre class="funcsynopsisinfo">
      require_once 'HTML/Progress2.php';
     
</pre>
          <table border="0" summary="Function synopsis" cellspacing="0"
          cellpadding="0" class="c1">
            <tr>
              <td>
                <code class="funcdef">void <b class=
                "fsfunc">HTML_Progress2::setCellAttributes</b>(</code>
              </td>
              <td>
                <var class="pdparam">$attributes</var>,
              </td>
              <td>
                &nbsp;
              </td>
            </tr>
            <tr>
              <td>
                &nbsp;
              </td>
              <td>
                <var class="pdparam">$cell = NULL</var><code>)</code>;
              </td>
              <td>
                &nbsp;
              </td>
            </tr>
          </table>
          <table border="0" summary="Function argument synopsis" cellspacing=
          "0" cellpadding="0">
            <tr>
              <td>
                mixed &nbsp;
              </td>
              <td>
                <var class="pdparam">$attributes</var>;
              </td>
            </tr>
            <tr>
              <td>
                int &nbsp;
              </td>
              <td>
                <var class="pdparam">$cell = NULL</var>;
              </td>
            </tr>
          </table>
        </div>
      </div>
      <div class="refsect1" lang="en" xml:lang="en">
        <a name=
        "package.html.html-progress2.html-progress2.setcellattributes.desc" id=
        "package.html.html-progress2.html-progress2.setcellattributes.desc"></a>
        <h2>
          Description
        </h2>
        <p>
          Sets cell attributes for all cells (default) or a specific an
          existing cell.
        </p>
        <p>
          Defaults are:
        </p>
        <div class="itemizedlist">
          <ul type="disc">
            <li>
              <p>
                Common :
              </p>
              <div class="itemizedlist">
                <ul type="circle">
                  <li>
                    <p>
                      id = pcel%01s
                    </p>
                  </li>
                  <li>
                    <p>
                      class = cell
                    </p>
                  </li>
                  <li>
                    <p>
                      spacing = 2
                    </p>
                  </li>
                  <li>
                    <p>
                      active-color = #006600
                    </p>
                  </li>
                  <li>
                    <p>
                      inactive-color = #CCCCCC
                    </p>
                  </li>
                  <li>
                    <p>
                      font-family = Courier, Verdana
                    </p>
                  </li>
                  <li>
                    <p>
                      font-size = lowest value from cell width, cell height,
                      and font size
                    </p>
                  </li>
                  <li>
                    <p>
                      color = #000000
                    </p>
                  </li>
                  <li>
                    <p>
                      background-color = #FFFFFF
                    </p>
                  </li>
                  <li>
                    <p>
                      background-image = none
                    </p>
                  </li>
                  <li>
                    <p>
                      background-repeat = no-repeat
                    </p>
                  </li>
                  <li>
                    <p>
                      background-position = top left
                    </p>
                  </li>
                  <li>
                    <p>
                      Horizontal Bar :
                    </p>
                    <div class="itemizedlist">
                      <ul type="square">
                        <li>
                          <p>
                            width = 15
                          </p>
                        </li>
                        <li>
                          <p>
                            height = 20
                          </p>
                        </li>
                      </ul>
                    </div>
                  </li>
                  <li>
                    <p>
                      Vertical Bar :
                    </p>
                    <div class="itemizedlist">
                      <ul type="square">
                        <li>
                          <p>
                            width = 20
                          </p>
                        </li>
                        <li>
                          <p>
                            height = 15
                          </p>
                        </li>
                      </ul>
                    </div>
                  </li>
                </ul>
              </div>
            </li>
          </ul>
        </div>
      </div>
      <div class="refsect1" lang="en" xml:lang="en">
        <a name=
        "package.html.html-progress2.html-progress2.setcellattributes.param"
        id="package.html.html-progress2.html-progress2.setcellattributes.param">
        </a>
        <h2>
          Parameter
        </h2>
        <div class="variablelist">
          <dl>
            <dt>
              <span class="term"><span class="type">mixed</span> <em class=
              "parameter"><code>$attributes</code></em></span>
            </dt>
            <dd>
              <p>
                Associative array or string of HTML tag attributes
              </p>
            </dd>
          </dl>
        </div>
        <div class="variablelist">
          <dl>
            <dt>
              <span class="term"><span class="type">integer</span> <em class=
              "parameter"><code>$cell</code></em></span>
            </dt>
            <dd>
              <p>
                (optional) Cell index
              </p>
            </dd>
          </dl>
        </div>
      </div>
      <div class="refsect1" lang="en" xml:lang="en">
        <a name=
        "package.html.html-progress2.html-progress2.setcellattributes.see" id=
        "package.html.html-progress2.html-progress2.setcellattributes.see"></a>
        <h2>
          See
        </h2>
        <p>
          <span class="emphasis"><em>see</em></span> <a href="re24.html" title=
          "HTML_Progress2::getCellAttributes"><code class=
          "function">HTML_Progress2::getCellAttributes</code></a>
        </p>
      </div>
      <div class="refsect1" lang="en" xml:lang="en">
        <a name=
        "package.html.html-progress2.html-progress2.setcellattributes.throws"
        id=
        "package.html.html-progress2.html-progress2.setcellattributes.throws"></a>
        <h2>
          Throws
        </h2>
        <p>
          <span class="emphasis"><em>throws</em></span>
          HTML_PROGRESS2_ERROR_INVALID_INPUT
        </p>
      </div>
      <div class="refsect1" lang="en" xml:lang="en">
        <a name=
        "package.html.html-progress2.html-progress2.setcellattributes.note" id=
        "package.html.html-progress2.html-progress2.setcellattributes.note"></a>
        <h2>
          Note
        </h2>
        <p>
          <span class="emphasis"><em>since</em></span> 2.0.0
        </p>
        <p>
          This function can not be called statically.
        </p>
      </div>
    </div>
    <table class="progress2Footer">
      <tr>
        <td align="left">
          HTML_Progress2 : The Definitive Guide
        </td>
        <td align="right">
          v 2.4.0 : April 20, 2007
        </td>
      </tr>
    </table>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left">
            <a accesskey="p" href="re24.html">Prev</a>&nbsp;
          </td>
          <td width="20%" align="center">
            <a accesskey="u" href=
            "ch19s04.html#reference.api.graph.cell">Up</a>
          </td>
          <td width="40%" align="right">
            &nbsp;<a accesskey="n" href="re26.html">Next</a>
          </td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">
            <code class=
            "function">HTML_Progress2::getCellAttributes</code>&nbsp;
          </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top">
            &nbsp;<code class=
            "function">HTML_Progress2::getCellCoordinates</code>
          </td>
        </tr>
      </table>
    </div>
  </body>
</html>