SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 522 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Returns Array of task methods
&getView( name : string='', type : string='', prefix : string='', config :
array=array() ) : JView
Gets a JView subclass object. If name is not specified, the controller name is used. If prefix
is not specified, the prefix will be $controllerName.'View'. type is the view layout,
normally HTML. This method is normally called only specifying name.
$view = $SomeController->getView('Item');
This would attempt to instantiate the class SomeViewItem.
Parameters [name] View name
[type] View type; relates to the document type
[prefix] View prefix, default is View
[config] Configuration array to pass to the view
Returns JView subclass object
redirect( ) : boolean
If a redirect has been set, it redirects the browser and closes the application.
Returns Returns false on failure
registerDefaultTask( method : string ) : void
Registers the default task method. The default task is the task that is executed when an
attempt is made to execute a task that is not mapped to a method.
Parameters method Default task method
registerTask( task : string, method : string ) : void
Registers a task, with a method.


Pages:
510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534
lcd opisy gg reklama w internecie projektantka wnętrz warszawa druk cyfrowy