org.puremvc.php.interfaces
[ class tree: org.puremvc.php.interfaces ] [ index: org.puremvc.php.interfaces ] [ all elements ]

Class: IController

Source Location: /interfaces/IController.php

Interface Overview


The interface definition for a PureMVC Controller.


Author(s):

Methods



Class Details

[line 38]
The interface definition for a PureMVC Controller.

In PureMVC, an

implementor follows the 'Command and Controller' strategy, and assumes these responsibilities:




Tags:

see:  org.puremvc.php.interfaces ICommand
see:  org.puremvc.php.interfaces INotification


[ Top ]


Class Methods


method executeCommand [line 56]

void executeCommand( INotification $notification)

Execute the
previously registered as the handler for
s with the given notification name.



Tags:

access:  public


Parameters:

notification   $notification   the
to execute the associated
for

[ Top ]

method registerCommand [line 48]

void registerCommand( notificationName $notificationName, commandClassRef $commandClassRef)

Register a particular
class as the handler for a particular
.



Tags:

access:  public


Parameters:

notificationName   $notificationName   the name of the
commandClassRef   $commandClassRef   the Class of the

[ Top ]

method removeCommand [line 63]

void removeCommand( notificationName $notificationName)

Remove a previously registered
to
mapping.



Tags:

access:  public


Parameters:

notificationName   $notificationName   the name of the
to remove the
mapping for

[ Top ]


Documentation generated on Tue, 30 Sep 2008 08:05:44 -0700 by phpDocumentor 1.4.0