webCOMAND

WebCOMANDApp::run()

Prepare webCOMAND to run the app and call the app's launch() method.

Prototype

static run(\com_webcomand\framework $framework)

Parameters

  • framework - An instance of the webCOMAND framework that will be used to launch the app.

Example

<?php
namespace com_presidentsdemo_www;

$framework = new \com_webcomand\framework();

// launch myapp, which extends WebCOMANDApp.
presidents_app::run($framework);