ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Component\EntryPoint\HelloWorld Class Reference

A simple entrypoint that just says hello, for testing and documentation purpose. More...

+ Inheritance diagram for ILIAS\Component\EntryPoint\HelloWorld:
+ Collaboration diagram for ILIAS\Component\EntryPoint\HelloWorld:

Public Member Functions

 enter ()
 Pass program execution to this entry point. More...
 
- Public Member Functions inherited from ILIAS\Component\EntryPoint\Base
 __construct (protected string $name)
 
 getName ()
 

Detailed Description

A simple entrypoint that just says hello, for testing and documentation purpose.

Definition at line 30 of file HelloWorld.php.

Member Function Documentation

◆ enter()

ILIAS\Component\EntryPoint\HelloWorld::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 32 of file HelloWorld.php.

References ILIAS\Component\EntryPoint\Base\getName().

32  : int
33  {
34  echo "entry point \"" . $this->getName() . "\" says: \"Hello World!\"\n";
35  return 0;
36  }
+ Here is the call graph for this function:

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