Skip to content

Commit c8a76f7

Browse files
committed
- (API) Added new craft.postmaster.email template tag to return a new Postmaster_EmailModel
1 parent 6031287 commit c8a76f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

variables/PostmasterVariable.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,10 @@ public function services()
9292
{
9393
return craft()->postmaster->getRegisteredServices();
9494
}
95+
96+
public function email($attributes = null)
97+
{
98+
return new Postmaster_EmailModel($attributes);
99+
}
100+
95101
}

0 commit comments

Comments
 (0)