Jump to Content

Objective HTML

Postmaster

The definitive email solution for ExpressionEngine

Base Class

This a abstract class from which all other classes are extended and provides basic setters and getters for private and protected properties. Setters and getters can be overriden in the children classes as needed if the default functionality isn't desired.

Setters

$Obj = new Your_class(array(
    'your_param1' => 'Your Value 1'
    'your_param2' => 'Your Value 2'
    'your_param3' => 'Your Value 3'
));

Setters can be used in the constructor method of the classes.

$Obj->set_your_param1('Your Value 1');
$Obj->set_your_param2('Your Value 2');
$Obj->set_your_param3('Your Value 3');

Private and protected properties can be set by using the magic methods.


Getters

Getters can be used in the constructor method of the classes.

$Obj->get_your_param1();
$Obj->get_your_param2();
$Obj->get_your_param3();