Class lispa\amos\notificationmanager\base\builder\ContentMailBuilder

Inheritancelispa\amos\notificationmanager\base\builder\ContentMailBuilder » lispa\amos\notificationmanager\base\builder\AMailBuilder » yii\base\Object
Implementslispa\amos\notificationmanager\base\Builder, yii\base\Configurable

Class ContentMailBuilder

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Calls the named method which is not a class method. yii\base\Object
__construct() Constructor. yii\base\Object
__get() Returns the value of an object property. yii\base\Object
__isset() Checks if a property is set, i.e. defined and not null. yii\base\Object
__set() Sets value of an object property. yii\base\Object
__unset() Sets an object property to null. yii\base\Object
canGetProperty() Returns a value indicating whether a property can be read. yii\base\Object
canSetProperty() Returns a value indicating whether a property can be set. yii\base\Object
className() Returns the fully qualified name of this class. yii\base\Object
getSubject() lispa\amos\notificationmanager\base\builder\ContentMailBuilder
hasMethod() Returns a value indicating whether a method is defined. yii\base\Object
hasProperty() Returns a value indicating whether a property is defined. yii\base\Object
init() Initializes the object. yii\base\Object
renderEmail() lispa\amos\notificationmanager\base\builder\ContentMailBuilder
sendEmail() lispa\amos\notificationmanager\base\builder\AMailBuilder

Method Details

getSubject() public method

public string getSubject ( array $resultset )
renderContent() protected method

protected string renderContent ( lispa\amos\core\record\Record $model, $user )
$model lispa\amos\core\record\Record
renderContentFooter() protected method

protected string renderContentFooter ( array $resultset, lispa\amos\core\user\User $user )
$resultset array
renderContentHeader() protected method

protected string renderContentHeader ( array $resultset )
$resultset array
renderContentTitle() protected method

protected string renderContentTitle ( lispa\amos\core\interfaces\ModelLabelsInterface $model )
$model lispa\amos\core\interfaces\ModelLabelsInterface
renderEmail() public method

public string renderEmail ( array $resultset, lispa\amos\core\user\User $user )
$resultset array
$user lispa\amos\core\user\User