phpDocumentor openbiz.bin.easy
[ class tree: openbiz.bin.easy ] [ index: openbiz.bin.easy ] [ all elements ]

Class: HTMLTabs

Source Location: /easy/HTMLTabs.php

Class HTMLTabs

Class Overview

HTMLTabs class is the base class of HTML tabs

Located in /easy/HTMLTabs.php [line 26]

MetaObject
   |
   --HTMLTabs
Author(s):
  • Rocky Swen
API Tags:
Access:  public

Information Tags:
Since:  1.2
Copyright:  Copyright (c) 2005-2009

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Property Summary
mixed   $m_ActiveCssClassName  
mixed   $m_CurrentTab  
mixed   $m_InactiveCssClassName  
mixed   $m_TabViews  
mixed   $m_TemplateFile  

[ Top ]
Method Summary
void   __construct()   Initialize HTMLTabs with xml array
boolean   IsCurrentTab()   Ask if the $this tab object is the current tab
void   ReadMetadata()   Read Metadata from xml array
void   Render()  
string   ReRender()   Rerender the tabs
void   SetClientScripts()  
void   SetCurrentTab()   Set current tab with view name
void   SetCurrentTabInSession()  

[ Top ]
Properties
mixed   $m_ActiveCssClassName = null [line 30]
API Tags:
Access:  protected


[ Top ]
mixed   $m_CurrentTab = null [line 29]
API Tags:
Access:  protected


[ Top ]
mixed   $m_InactiveCssClassName = null [line 31]
API Tags:
Access:  protected


[ Top ]
mixed   $m_TabViews = null [line 28]
API Tags:
Access:  public


[ Top ]
mixed   $m_TemplateFile [line 27]
API Tags:
Access:  public


[ Top ]
Methods
Constructor __construct  [line 39]

  void __construct( array &$xmlArr  )

Initialize HTMLTabs with xml array

Parameters:
array   $xmlArr: 


Redefinition of:
MetaObject::__construct()

[ Top ]
IsCurrentTab  [line 119]

  boolean IsCurrentTab( TabView $tview, EasyView $curViewObj, string $curViewName  )

Ask if the $this tab object is the current tab

Parameters:
TabView   $tview: 
EasyView   $curViewObj:  current View Object
string   $curViewName:  name of the current view

API Tags:
Return:  TRUE if on the current tab, otherwise FALSE
Access:  public


[ Top ]
ReadMetadata  [line 50]

  void ReadMetadata( array &$xmlArr  )

Read Metadata from xml array

Parameters:
array   $xmlArr: 

API Tags:
Access:  protected


[ Top ]
Render  [line 167]

  void Render( )


API Tags:
Access:  public


[ Top ]
ReRender  [line 219]

  string ReRender( )

Rerender the tabs


API Tags:
Return:  html content of the menu
Access:  public


[ Top ]
SetClientScripts  [line 231]

  void SetClientScripts( mixed $tabs, mixed $hasForms  )


API Tags:
Access:  protected


[ Top ]
SetCurrentTab  [line 107]

  void SetCurrentTab( string $viewName  )

Set current tab with view name

Parameters:
string   $viewName:  name of a view

API Tags:
Access:  public


[ Top ]
SetCurrentTabInSession  [line 145]

  void SetCurrentTabInSession( mixed $tview, mixed $curViewObj, mixed $curViewName  )


API Tags:
Access:  public


[ Top ]

Documentation generated on Tue, 22 Dec 2009 03:03:00 -0800 by phpDocumentor 1.3.0RC3