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

Class: RemoveItemAction

Source Location: /code/form/RemoveItemAction.php

Class Overview

FormAction
   |
   --RemoveItemAction

FormAction to remove an item from the CartPage.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 13]
FormAction to remove an item from the CartPage.

The button is changed to an (x) image in the CSS.




Tags:

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


[ Top ]


Class Methods


constructor __construct [line 24]

RemoveItemAction __construct( String $action, [String $title = ""], [Form $form = null], [String $extraData = null], [String $extraClass = ''])

Create the form action with a useful description.



Parameters:

String   $action  
String   $title  
Form   $form  
String   $extraData  
String   $extraClass  

[ Top ]

method id [line 36]

void id( )

Set the ID attribute for the HTML to something unique.

(non-PHPdoc)




[ Top ]


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