| @@ 44-54 (lines=11) @@ | ||
| 41 | /** |
|
| 42 | * |
|
| 43 | */ |
|
| 44 | public function __construct() |
|
| 45 | { |
|
| 46 | $this->xnewsletter = xnewsletterxnewsletter::getInstance(); |
|
| 47 | $this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
|
| 48 | $this->initVar("attachment_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 49 | $this->initVar("attachment_letter_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 50 | $this->initVar("attachment_name", XOBJ_DTYPE_TXTBOX, null, false, 200); |
|
| 51 | $this->initVar("attachment_type", XOBJ_DTYPE_TXTBOX, null, false, 100); |
|
| 52 | $this->initVar("attachment_submitter", XOBJ_DTYPE_INT, null, false, 10); |
|
| 53 | $this->initVar("attachment_created", XOBJ_DTYPE_INT, null, false, 10); |
|
| 54 | } |
|
| 55 | ||
| 56 | /** |
|
| 57 | * @param bool $action |
|
| @@ 48-58 (lines=11) @@ | ||
| 45 | /** |
|
| 46 | * |
|
| 47 | */ |
|
| 48 | public function __construct() |
|
| 49 | { |
|
| 50 | $this->xnewsletter = xnewsletterxnewsletter::getInstance(); |
|
| 51 | $this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
|
| 52 | $this->initVar("cat_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 53 | $this->initVar("cat_name", XOBJ_DTYPE_TXTBOX, null, false, 100); |
|
| 54 | $this->initVar("cat_info", XOBJ_DTYPE_TXTAREA, null, false); |
|
| 55 | $this->initVar("cat_mailinglist", XOBJ_DTYPE_INT, null, false, 8); |
|
| 56 | $this->initVar("cat_submitter", XOBJ_DTYPE_INT, null, false, 10); |
|
| 57 | $this->initVar("cat_created", XOBJ_DTYPE_INT, null, false, 10); |
|
| 58 | } |
|
| 59 | ||
| 60 | /** |
|
| 61 | * @param bool $action |
|
| @@ 44-54 (lines=11) @@ | ||
| 41 | /** |
|
| 42 | * |
|
| 43 | */ |
|
| 44 | public function __construct() |
|
| 45 | { |
|
| 46 | $this->xnewsletter = xnewsletterxnewsletter::getInstance(); |
|
| 47 | $this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
|
| 48 | $this->initVar("catsubscr_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 49 | $this->initVar("catsubscr_catid", XOBJ_DTYPE_INT, null, false, 8); |
|
| 50 | $this->initVar("catsubscr_subscrid", XOBJ_DTYPE_INT, null, false, 8); |
|
| 51 | $this->initVar("catsubscr_quited", XOBJ_DTYPE_INT, null, false, 10); |
|
| 52 | $this->initVar("catsubscr_submitter", XOBJ_DTYPE_INT, null, false, 10); |
|
| 53 | $this->initVar("catsubscr_created", XOBJ_DTYPE_INT, null, false, 10); |
|
| 54 | } |
|
| 55 | ||
| 56 | /** |
|
| 57 | * @param bool $action |
|
| @@ 37-48 (lines=12) @@ | ||
| 34 | /** |
|
| 35 | * Class Constructor |
|
| 36 | */ |
|
| 37 | public function __construct() |
|
| 38 | { |
|
| 39 | $this->xnewsletter = xnewsletterxnewsletter::getInstance(); |
|
| 40 | $this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
|
| 41 | $this->XoopsObject(); |
|
| 42 | $this->initVar("task_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 43 | $this->initVar("task_letter_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 44 | $this->initVar("task_subscr_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 45 | $this->initVar("task_starttime", XOBJ_DTYPE_INT, null, false, 8); |
|
| 46 | $this->initVar("task_submitter", XOBJ_DTYPE_INT, null, false, 8); |
|
| 47 | $this->initVar("task_created", XOBJ_DTYPE_INT, null, false, 8); |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * @param bool $action |
|
| @@ 49-59 (lines=11) @@ | ||
| 46 | /** |
|
| 47 | * Class constructor |
|
| 48 | */ |
|
| 49 | public function __construct() |
|
| 50 | { |
|
| 51 | $this->xnewsletter = xnewsletterxnewsletter::getInstance(); |
|
| 52 | $this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
|
| 53 | $this->initVar("template_id", XOBJ_DTYPE_INT, null, false, 8); |
|
| 54 | $this->initVar("template_title", XOBJ_DTYPE_TXTBOX, null, false, 100); |
|
| 55 | $this->initVar("template_description", XOBJ_DTYPE_TXTAREA, null, false); |
|
| 56 | $this->initVar("template_content", XOBJ_DTYPE_TXTAREA, null, false); |
|
| 57 | $this->initVar("template_submitter", XOBJ_DTYPE_INT, null, false, 10); |
|
| 58 | $this->initVar("template_created", XOBJ_DTYPE_INT, null, false, 10); |
|
| 59 | } |
|
| 60 | ||
| 61 | /** |
|
| 62 | * @param bool $action |
|