phpDocumentor epesi-utils
generic-browser
[ class tree: epesi-utils ] [ index: epesi-utils ] [ all elements ]

Class: Utils_GenericBrowser_Row_Object

Source Location: /modules/Utils/GenericBrowser/GenericBrowser_0.php

Class Utils_GenericBrowser_Row_Object

Class Overview

Located in /modules/Utils/GenericBrowser/GenericBrowser_0.php [line 12]



		
				Author(s):
		
  • Arkadiusz Bisaga <abisaga@telaxus.com>, Kuba Slawinski <kslawinski@telaxus.com> and Paul Bukowski <pbukowski@telaxus.com>
Information Tags:
Version:  1.0
Copyright:  Copyright &copy; 2006, Telaxus LLC
License:  MIT

Methods

[ Top ]
Method Summary
Utils_GenericBrowser_Row_Object   __construct()  
void   add_action()   Adds an action to the Generic Browser.
void   add_data()   Adds data to the row in Generic Browser.
void   add_data_array()   Adds data to the row in Generic Browser.
void   add_info()   Adds an info icon to the Generic Browser.
void   add_js()   Adds an js to call when row is displayed

[ Top ]
Methods
Constructor __construct  [line 16]

  Utils_GenericBrowser_Row_Object __construct( $GBobj, $num  )

Parameters:
   $GBobj: 
   $num: 

API Tags:
Access:  public


[ Top ]
add_action  [line 73]

  void add_action( string $tag_attrs, string $label, [ $tooltip = null], [ $icon = null]  )

Adds an action to the Generic Browser.

All actions are placed in one, additional column. Theme may replace text with icons and to determine which icon to use label lowercase is used.

Parameters:
string   $tag_attrs:  href
string   $label:  label
   $tooltip: 
   $icon: 

API Tags:
Access:  public


[ Top ]
add_data  [line 37]

  void add_data( mixed $args  )

Adds data to the row in Generic Browser.

Each argument fills one field, it can be either a string or an array.

If an array is passed it may consists following fields: value - text that will be displayed in the field style - additional css style definition hint - tooltip for the field wrapmode - what wrap method should be used (nowrap, wrap, cut)

If a string is passed it will be displayed in the field.

Parameters:
mixed   $args:  list of arguments

API Tags:
Access:  public


[ Top ]
add_data_array  [line 58]

  void add_data_array( array $arg  )

Adds data to the row in Generic Browser.

The argument should be an array, each array entry fills one field, it can be either a string or an array.

If an array is passed it may consists following fields: value - text that will be displayed in the field style - additional css style definition hint - tooltip for the field

If a string is passed it will be displayed in the field.

Parameters:
array   $arg:  array with row data

API Tags:
Access:  public


[ Top ]
add_info  [line 82]

  void add_info( string $tooltip  )

Adds an info icon to the Generic Browser.

Parameters:
string   $tooltip:  tooltip

API Tags:
Access:  public


[ Top ]
add_js  [line 91]

  void add_js( string $js  )

Adds an js to call when row is displayed

Parameters:
string   $js:  js

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 26 Dec 2008 21:42:17 -0500 by phpDocumentor 1.4.2