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

Class: KControllerToolbarInterface

Source Location: /libraries/koowa/controller/toolbar/interface.php

Interface Overview


Controller Toolbar Interface


Author(s):

Methods



Class Details

[line 17]
Controller Toolbar Interface



Tags:

author:  Johan Janssens <johan@nooku.org>


[ Top ]


Class Methods


method addCommand [line 77]

KControllerToolbarInterface addCommand( string $name, [mixed $config = array()])

Add a command



Tags:

access:  public


Parameters:

string   $name   The command name
mixed   $config   Parameters to be passed to the command

[ Top ]

method addSeparator [line 68]

KControllerToolbarInterface addSeparator( )

Add a separator



Tags:

access:  public


[ Top ]

method getCommands [line 84]

array getCommands( )

Get the list of commands



Tags:

access:  public


[ Top ]

method getController [line 24]

KController getController( )

Get the controller object



Tags:

access:  public


[ Top ]

method getIcon [line 61]

string getIcon( )

Get the toolbar's icon



Tags:

return:  Icon
access:  public


[ Top ]

method getName [line 31]

string getName( )

Get the toolbar's name



Tags:

access:  public


[ Top ]

method getTitle [line 46]

string getTitle( )

Get the toolbar's title



Tags:

return:  Title
access:  public


[ Top ]

method reset [line 91]

KConttrollerToolbarInterface reset( )

Reset the commands array



Tags:

access:  public


[ Top ]

method setIcon [line 54]

KControllerToolbarInterface setIcon( string $icon)

Set the toolbar's icon



Tags:

access:  public


Parameters:

string   $icon   Icon

[ Top ]

method setTitle [line 39]

KControllerToolbarInterface setTitle( string $title)

Set the toolbar's title



Tags:

access:  public


Parameters:

string   $title   Title

[ Top ]


Documentation generated on Sun, 19 May 2013 03:03:55 +0200 by phpDocumentor 1.4.3