1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /* For licensing terms, see /license.txt */
- /**
- * Interface HookMyStudentsQuizTrackingObserverInterface.
- */
- interface HookMyStudentsQuizTrackingObserverInterface extends HookObserverInterface
- {
- /**
- * Return an associative array this value and attributes.
- * <code>
- * [
- * 'value' => 'Users online',
- * 'attrs' => ['class' => 'text-center'],
- * ]
- * </code>.
- *
- * @param HookMyStudentsQuizTrackingEventInterface $hook
- *
- * @return array
- */
- public function trackingHeader(HookMyStudentsQuizTrackingEventInterface $hook);
- /**
- * Return an associative array this value and attributes.
- * <code>
- * [
- * 'value' => '5 connected users ',
- * 'attrs' => ['class' => 'text-center text-success'],
- * ]
- * </code>.
- *
- * @param HookMyStudentsQuizTrackingEventInterface $hook
- *
- * @return array
- */
- public function trackingContent(HookMyStudentsQuizTrackingEventInterface $hook);
- }
|