/**
* Mailing templates
* @var array
- * @static
*/
private static $template;
/**
* Completed mailings
* @var array
- * @static
*/
private static $completed;
/**
* Mailing components
* @var array
- * @static
*/
private static $component;
*
* @return array
* array reference of all mailing components
- * @static
*/
public static function &component($type = NULL) {
$name = $type ? $type : 'ALL';
* @param $undefined
* The value to use if no default is defined.
*
- * @return integer
+ * @return int
* The ID of the default mailing component.
- * @static
*/
public static function &defaultComponent($type, $undefined = NULL) {
if (!self::$defaultComponent) {
*
* @return array
* array reference of all mailing templates if any
- * @static
*/
public static function &template() {
if (!self::$template) {
*
* @return array
* array reference of all mailing templates if any
- * @static
*/
public static function &completed($mode = NULL) {
if (!self::$completed) {
* Flush given pseudoconstant so it can be reread from db
* next time it's requested.
*
- * @static
*
* @param bool|string $name pseudoconstant to be flushed
*/