ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Setup\CLI\App Class Reference

The ILIAS-setup-console-application. More...

+ Inheritance diagram for ILIAS\Setup\CLI\App:
+ Collaboration diagram for ILIAS\Setup\CLI\App:

Public Member Functions

 __construct (Command ... $commands)
 
 getName ()
 
 enter ()
 Pass program execution to this entry point. More...
 

Data Fields

const NAME = "The ILIAS Setup"
 

Detailed Description

The ILIAS-setup-console-application.

TODO: Add some metainformation to the app, such as name.

Definition at line 33 of file App.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Setup\CLI\App::__construct ( Command ...  $commands)

Definition at line 37 of file App.php.

References $c, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\UI\examples\Symbol\Glyph\Add\add().

39  {
40  parent::__construct(self::NAME);
41  foreach ($commands as $c) {
42  $this->add($c);
43  }
44  }
add()
description: > Example for rendring an add glyph.
Definition: add.php:41
$c
Definition: deliver.php:25
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ enter()

ILIAS\Setup\CLI\App::enter ( )

Pass program execution to this entry point.

Returns
int 0 if everthing went fine, or an error-code.

Implements ILIAS\Component\EntryPoint.

Definition at line 51 of file App.php.

51  : int
52  {
53  return $this->run();
54  }

◆ getName()

ILIAS\Setup\CLI\App::getName ( )

Implements ILIAS\Component\EntryPoint.

Definition at line 46 of file App.php.

46  : string
47  {
48  return self::NAME;
49  }

Field Documentation

◆ NAME

const ILIAS\Setup\CLI\App::NAME = "The ILIAS Setup"

Definition at line 35 of file App.php.


The documentation for this class was generated from the following file: