Class Notification_Formatter - echiong/testRepo GitHub Wiki

##Class Notification_Formatter

Package: [[application<a href="Package application.libraries.md">libraries]]
Author: Alel
Located at application/libraries/Notification_Formatter.php

##Methods summary


public __construct ( )


public object|null getFormatter ( string $notificationType, array|object $notificationData )

Gets the formatter.

Parameters

$notificationType string
$notificationType The type of notification

$notificationData array|object
$notificationData Notification data

Returns object|null
FormatterAbstract object


public autoloadFormatter ( string $className )

Loads the formatter.

Parameters

$className string
$className The class name


public boolean hasFormatter ( string $notificationType )

Checks if formatter exists.

Parameters

$notificationType string
$notificationType The type of notification

Returns boolean

<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="CI" id="$CI">
	<td class="attributes"><code>
		protected  
		<code><a href="Class CI_Controller.md">CI_Controller</a></code>
	</code></td>

	<td class="name">

$CI

#
		<div class="description detailed">
			

		</div>
	</div></td>
</tr>
<tr data-order="_classDir" id="$_classDir">
	<td class="attributes"><code>
		protected  
		mixed
	</code></td>

	<td class="name">

$_classDir

#
		<div class="description detailed">
			

		</div>
	</div></td>
</tr>
</table>
⚠️ **GitHub.com Fallback** ⚠️