SunQuest
 
       Content Management Code
  Home arrow Content Management Code arrow Table generation class
Try It Free
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Forums Sitemap 
Dedicated Servers  
Download TestComplete 
IBM® developerWorks
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
CONTENT MANAGEMENT CODE

Table generation class
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2005-11-29

    Table of Contents:

    Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
    Try It Free
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Table generation class v0.1
    Easy to use with lots of options and clean code.

    By : mgalesic

    includes:

    class.tabledata.php
    readme.txt


    -------------
    Legends:

    [*A] - can take any number of arguments
    [0] - no argument is needed for function to work
    [null] - function has no arguments
    [] - calling a function itself, withoth arguments will set default value

    L: - legends
    D: - description

    -------------

    Prototypes:

    * function beginTable($width='100%', $class_ = '', $align = '', $border = 0, $cellp = 0, $cells = 0);

    D: generate a <table> tag with default values or arguments specified
    L: [0]

    * function row();

    D: generate a <tr><td>data 1</td><td>data 2</td><td>data n</td></tr> tags plus arguments set with other functions
    L: [*A]

    * function endTable(); - [null]

    D: generate a </table> tag
    L: [null]

    * function setTDwidth();

    D: set a width arguments for <td> tags
    L: [*A], []

    * function setTDalign();

    D: set an align arguments for <td> tags
    L: [*A], []

    * function setTDclass();

    D: set a class arguments for <td> tags
    L: [*A], []

    * function setTDstyle();

    D: set a style arguments for <td> tags
    L: [*A], []

    * function setTRclass($class_='');

    D: set a class argument for <tr> tag
    L: []

    * function setTRstyle($style='');

    D: set a style argument for <tr> tag
    L: []

    * function setTRheight($height='');

    D: set a height argument for <tr> tag
    L: []

    * function setTRalign($align='');

    D: set a align argument for <tr> tag
    L: []

    * function setTRvalign($valign='');

    D: set a valign argument for <tr> tag
    L: []

    * function setTRcolor();

    D: you can use this function if you want to color specific number of rows with different color
    L: [*A], []

    * function forceRow();

    D: generate a <tr><td>data 1</td><td>data 2</td><td>data n</td></tr> tags plus arguments set with other force functions
    it is useful if you want only one row to be different from others
    it can be use as a header for you table
    if you set width argument with force function and use it as a heder you don't to set width for other rows

    L: [*A]

    * function setForceTDwidth();

    D: set a width arguments for <td> tags of force function
    L: [*A], []

    * function setForceTDalign();

    D: set a align arguments for <td> tags of force function
    L: [*A], []

    * function setForceTDstyle();

    D: set a style arguments for <td> tags of force function
    L: [*A], []

    * function setForceTDclass();

    D: set a class arguments for <td> tags of force function
    L: [*A], []

    * function setForceTRclass($klasa='');

    D: set a class argument for <tr> tag of force function
    L: []

    * function setForceTRstyle($style='');

    D: set a style argument for <tr> tag of force function
    L: []

    * function setForceTRheight($height='');

    D: set a height argument for <tr> tag of force function
    L: []

    * function setForceTRalign($align='');

    D: set a align argument for <tr> tag of force function
    L: []

    * function setForceTRvalign($valign='');

    D: set a valign argument for <tr> tag of force function
    L: []

    * function emptyRow($col, $color, $height);

    D: generate an empty row
    col is number of <td> tags, color is backround for <tr>




    Click to Download File



    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

    More Content Management Code Articles
    More By Codewalkers

     

    IBM® developerWorks developerWorks - FREE Tools!


    IBM DB2 Deep Compression ROI Tool

    The IBM DB2 Deep Compression ROI tool is designed for DBA’s and IT management personnel to perform a clinical analysis of the cost savings gained from the Storage Optimization feature of DB2 9 for Linux, UNIX and Windows. The feature, also known as Deep Compression, compresses data that lies within a database by up to 80% at times.
    FREE! Go There Now!


    NEW! "ebook: Exploring IBM SOA Technology & Practice

    Learn field-tested SOA principles, methodology, technology and implementation from the global SOA market leader - in a new e-book by an IBM SOA expert. Written by IBM Certified SOA Solution Designer Bobby Woolf, "Exploring IBM SOA Technology & Practice" is the ultimate insider's guide to SOA - a PDF e-book packed cover to cover with IBM's specific advice on how to make your SOA implementation a success.
    FREE! Go There Now!


    NEW! Evaluate WebSphere Extended Deployment Compute Grid V6.1

    Visit IBM developerWorks to download a free trial version of WebSphere Extended Deployment Compute Grid, which lets you schedule, execute, and monitor batch jobs. Because online transaction processing and batch jobs execute simultaneously on the same server resources, you can avoid costly duplication of resources. Compute Grid supports job types of Java transactional batch, compute-intensive and a new type called "native execution", which enables non-Java workloads to run on distributed end points.
    FREE! Go There Now!


    NEW! Krugle, developerWorks, and code search

    Ken Krugler, co-founder of code search company Krugle, and Laura Merling, vice president of Marketing and Business Development for Krugle, join to talk about the ins and outs of code search and what it means as a new feature for developerWorks users.
    FREE! Go There Now!


    NEW! Rational Build Forge Express eKit

    Rational Build Forge Express Edition is an automation framework that packages the latest enterprise-grade technologies into a reliable, flexible and robust configuration designed and priced specifically for small to midsize businesses. The new Rational Build Forge Express eKit provides you with valuable resources – including a case study, podcast, demo, and articles – to help you increase staff productivity, compress development cycles and deliver better software, fast.
    FREE! Go There Now!


    NEW! Rational Testing eKits

    Discover how Rational tools and best practices for testing can make your job easier. The new Rational Testing eKits provide you with valuable resources – including demos, webcasts, tutorials, and articles – that help you address your specific testing needs across the software lifecycle. Five new eKits are available covering the topics of Requirements and Test Management, Functional Testing, Performance Testing, Code Quality and Embedded Systems, and SOA and Web Services Testing.
    FREE! Go There Now!


    NEW! Run your first CICS application on a PC using TXSeries for Windows

    Learn the basics of the IBM Customer Information Control System (CICS). With a hands-on exercise, learn how to get your first CICS application up and running on your desktop using TXSeries V6.1 for Windows. The tutorial shows you how to download and install a free trial version of TXSeries V6.1.
    FREE! Go There Now!


    NEW! Trial download: IBM Lotus Forms V3.0

    Get a free trial download of IBM Lotus Forms V3.0 (formerly Workplace Forms), which provides a zero-footprint eForms solution to help you automate and move forms-based business processes off the desktop and onto the Web. With Lotus Forms, you can extend applications beyond the firewall by creating a single electronic form document ready for use in both thick and Web 2.0 thin client format.
    FREE! Go There Now!


    NEW! Webcast: Application security testing and Web compliance

    Join the IBM Watchfire team for an informative discussion on techniques and best practices to proactively manage Web application security and how to effectively build application security testing into the software development lifecycle (SDLC). In this Software Delivery Platform webcast you will learn: How to better understand potential web application security vulnerabilities, best practices and how to effectively integrate application security testing into the software development lifecycle, the importance of detecting and removing software vulnerabilities during application development.
    FREE! Go There Now!


    NEW! Webcast: IBM Rational Build Forge - Beyond the Build

    The discipline of assembling and delivering software is maturing beyond standard developer-centric compile/test software builds. The end-to-end software development lifecycle is emerging as the new focus moves “Beyond the Build.” Join this on demand webcast to learn about methods for streamlining software delivery and key capabilities of the IBM Rational Build Forge framework for automating build and release management in environments of any size.
    FREE! Go There Now!



    All FREE IBM® developerWorks Tools!

    CONTENT MANAGEMENT CODE ARTICLES

    - V2 CMS - Content Management System
    - VSNS Lemon
    - Country List For Forms Using SQL
    - eggblog
    - Table generation class
    - STP Simple Template Parser
    - class Vision_To_Form_Elements
    - Cascade Drop Down
    - Cura - CMS
    - Syntax Desktop
    - 216 color table
    - Simple Mini Poll class library (SimPoll)
    - Regex Generator
    - Siteseed
    - Company WebSite Builder PRO





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway