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

Class: pnFormImageButton

Source Location: /system/pnForm/plugins/function.pnformimagebutton.php

Class Overview

pnFormPlugin
   |
   --pnFormStyledPlugin
      |
      --pnFormButton
         |
         --pnFormImageButton

Image button This button works like a normal pnFormButton with the exception that it displays a clickable image instead of a text button. It further more returns the X and Y coordinate of the click position in the image.


Variables

Methods


Inherited Variables

Inherited Methods

Class: pnFormButton

pnFormButton::decodePostBackEvent()
pnFormButton::getFilename()
pnFormButton::render()

Class: pnFormStyledPlugin

pnFormStyledPlugin::renderAttributes()

Class: pnFormPlugin

pnFormPlugin::pnFormPlugin()
Constructor
pnFormPlugin::create()
Create event handler
pnFormPlugin::dataBound()
DataBound event handler
pnFormPlugin::decode()
Decode event handler
pnFormPlugin::decodePostBackEvent()
Decode event handler for actions that generate a postback event
pnFormPlugin::getIdHtml()
Utility function to generate HTML for ID attribute
pnFormPlugin::initialize()
Initialize event handler
pnFormPlugin::load()
Load event handler
pnFormPlugin::postRender()
PostRender event handler
pnFormPlugin::readParameters()
Read Smarty plugin parameters
pnFormPlugin::registerPlugin()
pnFormPlugin::render()
Render event handler
pnFormPlugin::renderAttributes()
pnFormPlugin::renderBegin()
RenderBegin event handler
pnFormPlugin::renderContent()
RenderContent event handler
pnFormPlugin::renderEnd()
RenderEnd event handler

Class Details

[line 34]
Image button This button works like a normal pnFormButton with the exception that it displays a clickable image instead of a text button. It further more returns the X and Y coordinate of the click position in the image.

The command event arguments contains four elements:

  • commandName: command name
  • commandArgument: command argument
  • posX: X position of click
  • posY: Y position of click




[ Top ]


Class Variables

$imageUrl =

[line 41]

Image URL The URL pointing to the image for the button.


Type:   string


[ Top ]



Class Methods


method decodePostBackEvent [line 74]

void decodePostBackEvent( &$render)



Overrides pnFormButton::decodePostBackEvent() (parent method not documented)

Parameters:

   &$render  

[ Top ]

method getFilename [line 44]

void getFilename( )



Overrides pnFormButton::getFilename() (parent method not documented)

[ Top ]

method render [line 50]

void render( &$render)



Overrides pnFormButton::render() (parent method not documented)

Parameters:

   &$render  

[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:45:52 +0200 by phpDocumentor 1.4.1