swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: FieldSetExtension

Source Location: /code/form/FieldSetExtension.php

Class Overview

Extension
   |
   --FieldSetExtension

Extend FieldSet with utility to findOrMakeTabSet so that modules can share the same tab in SiteConfig.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 12]
Extend FieldSet with utility to findOrMakeTabSet so that modules can share the same tab in SiteConfig.



Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Methods


method findOrMakeTabSet [line 27]

Tab findOrMakeTabSet( string $tabName, [string $title = null])

Utility function to make a tab set, so that other modules can share a tabset in the SiteConfig.



Tags:

return:  The found or newly created Tab instance
access:  public


Parameters:

string   $tabName   The tab to return, in the form "Tab.Subtab.Subsubtab". Caution: Does not recursively create TabSet instances, you need to make sure everything up until the last tab in the chain exists.
string   $title   Natural language title of the tab. If $tabName is passed in dot notation, the title parameter will only apply to the innermost referenced tab. The title is only changed if the tab doesn't exist already.

[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:26 +1300 by phpDocumentor 1.4.4