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

Class: ChangeState

Source Location: /Widgets/Content/ChangeState.php

Class Overview

PEAR
   |
   --BifWidget
      |
      --ChangeState

Abstract class. Implement childs with 2 representations URL based


Author(s):

Version:

  • $Revision: 1.9 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
Abstract class. Implement childs with 2 representations URL based

Usually, we want to show -for example- highlighted buttons to show an special part of our bif application. It uses 2 diferent tpl for this propouse: 'widgetname.tpl' and 'widgetname-selected.tpl'

Example:

The REGEXP parameter could be '.*script\.php.*' and the name of the child class could be MeButtone

then, MeButtone will change it's representation at script.php and in the rest of the site will remain with default behaviour




Tags:

version:  $Revision: 1.9 $
author:  Nicolas D. Cesar <ncesar@lunix.com.ar>


[ Top ]


Class Methods


constructor ChangeState [line 41]

ChangeState ChangeState( [$attrs $attrs = array()], string 1)

{{{ function Constructor



Parameters:

string   1   REGEXP Regular expresion to match script name to determinate if it should be selected.
$attrs   $attrs   Instance's attributes specified as a hash with the

[ Top ]


Documentation generated on Wed, 10 Nov 2004 19:41:29 -0300 by phpDocumentor 1.2.3