Class WFYAHOO_widget_Tab

Description

A wrapper for the individual tab instances.

Content can be static or dynamically loaded.

WFYAHOO_widget_Tab is a block element. Use WFViewBlock to use a tab in your template. The block content is the default content for the tab.

PHOCOA Builder Setup:

Required:

Optional:
cacheData - boolean - Whether or not to cache the data (if using dataSrc) dataSrc - string - The absolute URL of a page on this server to load for dynamic content. If you want to load http:// urls, you need to set up a proxy. dataTimeout - integer - Number of ms to wait before "failing" a dynamic content load. disabled - boolean - Disabled tabs cannot be activated. label - string - The label of the tab. Can be HTML. loadMethod - string - GET/POST. What dataSrc will be loaded with.

Located in /framework/widgets/yahoo/WFYAHOO_widget_TabView.php (line 30)

WFObject
   |
   --WFView
      |
      --WFWidget
         |
         --WFYAHOO
            |
            --WFYAHOO_widget_Tab
Variable Summary
mixed $cacheData
mixed $dataSrc
mixed $dataTimeout
mixed $disabled
mixed $label
mixed $loadMethod
Method Summary
WFYAHOO_widget_Tab __construct ( $id,  $page)
void cacheData ()
void dataSrc ()
void dataTimeout ()
void disabled ()
void initJS ( $blockContent)
void label ()
void loadMethod ()
void render ([ $blockContent = NULL])
Variables
mixed $cacheData (line 32)
  • access: protected
mixed $dataSrc (line 33)
  • access: protected
mixed $dataTimeout (line 34)
  • access: protected
mixed $disabled (line 35)
  • access: protected
mixed $label (line 36)
  • access: protected
mixed $loadMethod (line 37)
  • access: protected

Inherited Variables

Inherited from WFYAHOO

WFYAHOO::$initializeWaitsForID

Inherited from WFWidget

WFWidget::$bindings
WFWidget::$class
WFWidget::$errors
WFWidget::$formatter
WFWidget::$hasRestoredState
WFWidget::$hidden
WFWidget::$name
WFWidget::$value
WFWidget::$widgetLabel

Inherited from WFView

WFView::$children
WFView::$cssImports
WFView::$enabled
WFView::$id
WFView::$importInHead
WFView::$jsActions
WFView::$jsEvents
WFView::$jsImports
WFView::$originalOnEvent
WFView::$page
WFView::$parent
Methods
Constructor __construct (line 42)

Constructor.

WFYAHOO_widget_Tab __construct ( $id,  $page)
  • $id
  • $page

Redefinition of:
WFYAHOO::__construct()
Constructor.
cacheData (line 54)
void cacheData ()
dataSrc (line 58)
void dataSrc ()
dataTimeout (line 62)
void dataTimeout ()
disabled (line 66)
void disabled ()
initJS (line 78)
void initJS ( $blockContent)
  • $blockContent

Redefinition of:
WFYAHOO::initJS()
The initJS function is where YUI widgets perform their bootstrap/initialization.
label (line 70)
void label ()
loadMethod (line 74)
void loadMethod ()
render (line 82)
void render ([ $blockContent = NULL])
  • $blockContent

Redefinition of:
WFYAHOO::render()
IMPORTANT: The subclasses should get the base class's html, then add the needed code.

Inherited Methods

Inherited From WFYAHOO

WFYAHOO::__construct()
WFYAHOO::canPushValueBinding()
WFYAHOO::initJS()
WFYAHOO::jsForSimplePropertyConfig()
WFYAHOO::jsValueForValue()
WFYAHOO::render()
WFYAHOO::yuiloader()

Inherited From WFWidget

WFWidget::__construct()
WFWidget::addError()
WFWidget::bind()
WFWidget::bindingByName()
WFWidget::bindings()
WFWidget::canPushValueBinding()
WFWidget::errors()
WFWidget::exposedBindings()
WFWidget::exposedProperties()
WFWidget::formattedValue()
WFWidget::formatter()
WFWidget::hasRestoredState()
WFWidget::hidden()
WFWidget::name()
WFWidget::processBindingOptions()
WFWidget::propagateValueToBinding()
WFWidget::pullBindings()
WFWidget::pushBindings()
WFWidget::restoreState()
WFWidget::setFormatter()
WFWidget::setHidden()
WFWidget::setName()
WFWidget::setupExposedBindings()
WFWidget::setValue()
WFWidget::setWidgetLabel()
WFWidget::unbind()
WFWidget::value()
WFWidget::valueForBinding()
WFWidget::widgetLabel()

Inherited From WFView

WFView::__construct()
WFView::addChild()
WFView::allConfigFinishedLoading()
WFView::children()
WFView::cloneWithID()
WFView::enabled()
WFView::exposedProperties()
WFView::getForm()
WFView::getJSActions()
WFView::getListenerJS()
WFView::getListenerJSInScriptTag()
WFView::getOnEvent()
WFView::getWidgetDir()
WFView::getWidgetWWWDir()
WFView::id()
WFView::importCSS()
WFView::importJS()
WFView::jsEndHTML()
WFView::jsStartHTML()
WFView::page()
WFView::parent()
WFView::removeChild()
WFView::render()
WFView::setEnabled()
WFView::setId()
WFView::setJSonBlur()
WFView::setJSonClick()
WFView::setListener()
WFView::setOnEvent()
WFView::setParent()
WFView::yuiPath()

Inherited From WFObject

WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForUndefinedKey()
WFObject::__toString()

Documentation generated on Sun, 28 Sep 2008 18:26:04 -0400 by phpDocumentor 1.4.1