\naigc\v25DisciplineEvent

Functions related to DisciplineEvents.

Summary

Methods
Properties
Constants
__construct()
event()
discipline()
displayOrder()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\naigc\v25\util\IMysql  $mysql, \naigc\v25\IEvent  $event, \naigc\v25\IDiscipline  $discipline) : mixed

Creates a new DisciplineEvent object.

Parameters

\naigc\v25\util\IMysql $mysql

The database.

\naigc\v25\IEvent $event

The Event.

\naigc\v25\IDiscipline $discipline

The Discipline.

Throws

\naigc\v25\exception\FailedMysqliPrepare
\naigc\v25\exception\FailedMysqliExecute
\naigc\v25\exception\Creation

Returns

mixed

event()

event() : \naigc\v25\IEvent

Gets the Event.

Returns

\naigc\v25\IEvent —

The Event.

discipline()

discipline() : \naigc\v25\IDiscipline

Gets the Discipline.

Returns

\naigc\v25\IDiscipline —

The Discipline.

displayOrder()

displayOrder() : int

Gets the display order of the Event Discipline.

Returns

int —

The display order.