ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilOrgUnitTypePluginException Class Reference

Class ilOrgUnitTypePluginException This exception is thrown whenever one or multiple ilOrgUnitTypeHook plugin(s) did not allow an action on a ilOrgUnitType object, e.g. More...

+ Inheritance diagram for ilOrgUnitTypePluginException:
+ Collaboration diagram for ilOrgUnitTypePluginException:

Public Member Functions

 __construct ($a_message, $plugins=array())
 
 setPlugins ($plugins)
 
 getPlugins ()
 
- Public Member Functions inherited from ilException
 __construct ($a_message, $a_code=0)
 A message isn't optional as in build in class Exception. More...
 

Protected Attributes

 $plugins = array()
 

Detailed Description

Class ilOrgUnitTypePluginException This exception is thrown whenever one or multiple ilOrgUnitTypeHook plugin(s) did not allow an action on a ilOrgUnitType object, e.g.

updating, deleting or setting title. It stores additionally the plugin objects which did not allow the action.

Author
Stefan Wanzenried sw@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 12 of file class.ilOrgUnitTypePluginException.php.

Constructor & Destructor Documentation

◆ __construct()

ilOrgUnitTypePluginException::__construct (   $a_message,
  $plugins = array() 
)

Definition at line 22 of file class.ilOrgUnitTypePluginException.php.

References $plugins, and ILIAS\GlobalScreen\Provider\__construct().

23  {
24  parent::__construct($a_message);
25  $this->plugins = $plugins;
26  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ getPlugins()

ilOrgUnitTypePluginException::getPlugins ( )
Returns
array

Definition at line 39 of file class.ilOrgUnitTypePluginException.php.

References $plugins.

◆ setPlugins()

ilOrgUnitTypePluginException::setPlugins (   $plugins)
Parameters
array$plugins

Definition at line 31 of file class.ilOrgUnitTypePluginException.php.

References $plugins.

32  {
33  $this->plugins = $plugins;
34  }

Field Documentation

◆ $plugins

ilOrgUnitTypePluginException::$plugins = array()
protected

Definition at line 19 of file class.ilOrgUnitTypePluginException.php.

Referenced by __construct(), getPlugins(), and setPlugins().


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