*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:bfcc85d4eb2bab05f214dd946e5fdef6)
+ * (GenCodeChecksum:f1ac9d0a02ed59171d4efdc4209a376c)
*/
/**
* Database access object for the Mailing entity.
*/
class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '';
/**
* Static instance to hold the table name.
*/
public static $_log = FALSE;
+ /**
+ * Paths for accessing this entity in the UI.
+ *
+ * @var string[]
+ */
+ protected static $_paths = [
+ 'add' => 'civicrm/a/#/mailing/new',
+ 'update' => 'civicrm/a/#/mailing/[id]',
+ ];
+
/**
* @var int
*/
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Mailings');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Mailings') : ts('Mailing');
}
/**