Exemplo n.º 1
0
 /**
  * Get all the completed mailing
  *
  * @access public
  * @return array - array reference of all mailing templates if any
  * @static
  */
 function &completed()
 {
     if (!$GLOBALS['_CRM_MAILING_PSEUDOCONSTANT']['completed']) {
         CRM_Mailing_PseudoConstant::populate($GLOBALS['_CRM_MAILING_PSEUDOCONSTANT']['completed'], 'CRM_Mailing_DAO_Mailing', true, 'name', 'is_completed');
     }
     return $GLOBALS['_CRM_MAILING_PSEUDOCONSTANT']['completed'];
 }