PHP Classes
Icontem

Class: Panel_Fichas tab control


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      Classes of Alfredo Rahn  >  Panel_Fichas tab control  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

    Picture of Alfredo Rahn
    Name: Alfredo Rahn <e-mail contact>
    Published packages: 4
    Country: Venezuela Venezuela - PHP jobs in Venezuela
    Home page: http://alfredorahn.com/
    Age: 33
    All time rank: 654
    Week rank: 992

    Browse this author's classes

  • Groups:

    Group folder image HTML HTML generation and processing View top rated classes
  • Detailed description:

    This class generates an HTML table that acts like the Tab Control we use in GUIs. It has a tab bar in first top row with the appropiate links and names of every tab is defined. The second row of the table deploys the contents of the active tab, which can turn out to be a string contained in a variable, a PHP constant o a file (which will be included right in place).

    The class provides functions to add a tab, remove a tab, and set or get the active tab.

    The class outputs the navigation bar as pure HTML code. NO layers or dynamic HTML is used, and the active tab is reloaded dynamically from PHP each time a link in the bar is pressed.

    The presentation styles of the active and inactive tabs are customizable.

    The code and comments of the class are in Spanish.

    Hope you enjoy it!

    Atributes
    +---- CFG// Configuration array
    +---- Activa // Key of active tab
    +---- Filas // Height of tab row (reserved)
    +---- TAttr // String with atributes for table (width, style, class, etc.)
    +---- ACAttr // String with atributes for active tab
    +---- ICAttr // String with atributes for inactive tab
    +---- FA_name // Name of variable to GET for active tab

    Methods (see code for parameters detailed)
    +---- panelFichas(...) // Constructor
    +---- nuevaFicha(...) // Adds a new tab
    +---- borrarFicha(...) // Deletes a tab
    +---- estadoFicha(...) // Gets or Sets the state of a tab (enabled or not)
    +---- cambiarActiva(...) // Sets the active tab
    +---- htmlPanel() // Outputs the tab control and contents itself
  • User ratings:

    Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Not sure (58.3%)
    Sufficient (66.7%)
    -
    Good (83.3%)
    -
    -
    Not sure (44.2%)
    1399
    Month:
    Not yet rated by the users
  • Applications that use this class:

    No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

    File Role Description
    Accessible without login Plain text file demo.php Example Proof-of-concept demo of class
    Accessible without login Plain text file panel_fichas.php Class Main panel_fichas class
    Download all files: panel_fichas.tar.gz panel_fichas.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products