当前位置: 首页>>代码示例>>PHP>>正文


PHP Newsletter::objLetterTable方法代码示例

本文整理汇总了PHP中Newsletter::objLetterTable方法的典型用法代码示例。如果您正苦于以下问题:PHP Newsletter::objLetterTable方法的具体用法?PHP Newsletter::objLetterTable怎么用?PHP Newsletter::objLetterTable使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Newsletter的用法示例。


在下文中一共展示了Newsletter::objLetterTable方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     // Construct any possible parent;
     parent::__construct();
     // Do the tie ...
     $this->tieInCommonConfiguration();
     // Set the proper configuration options, from the config file;
     self::$objLetterTable = $this->getConfigKey(new S('newsletter_table'));
     self::$objLetterTableFId = $this->getConfigKey(new S('newsletter_table_field_id'));
     self::$objLetterTableFEML = $this->getConfigKey(new S('newsletter_table_field_email'));
     self::$objLetterTableFFirstName = $this->getConfigKey(new S('newsletter_table_field_first_name'));
     self::$objLetterTableFLastName = $this->getConfigKey(new S('newsletter_table_field_last_name'));
     self::$objLetterTableFType = $this->getConfigKey(new S('newsletter_table_field_email_type'));
     self::$objLetterTableFConfirmed = $this->getConfigKey(new S('newsletter_table_field_is_confirmed'));
     self::$objLetterTableFKey = $this->getConfigKey(new S('newsletter_table_field_confirmation_key'));
     self::$objLetterTableFSubscribed = $this->getConfigKey(new S('newsletter_table_field_date'));
     self::$objLetterTableFCategoryId = $this->getConfigKey(new S('newsletter_table_field_category_id'));
     // Categories ...
     self::$objCategoryTable = $this->getConfigKey(new S('newsletter_category_table'));
     self::$objCategoryTableFId = $this->getConfigKey(new S('newsletter_category_table_id'));
     self::$objCategoryTableFName = $this->getConfigKey(new S('newsletter_category_table_name'));
     self::$objCategoryTableFSEO = $this->getConfigKey(new S('newsletter_category_table_seo'));
     self::$objCategoryTableFDescription = $this->getConfigKey(new S('newsletter_category_table_description'));
     self::$objCategoryTableFDate = $this->getConfigKey(new S('newsletter_category_table_date'));
     // Load'em defaults ... ATH, STG and others ...
     $this->ATH = MOD::activateModule(new FilePath('mod/authentication'), new B(TRUE));
     $this->STG = MOD::activateModule(new FilePath('mod/settings'), new B(TRUE));
     // DB: Auto-CREATE:
     $objQueryDB = new FileContent($this->getPathToModule()->toRelativePath() . _S . CFG_DIR . _S . __CLASS__ . SCH_EXTENSION);
     // Make a FOREACH on each ...
     foreach (_S($objQueryDB->toString())->fromStringToArray(RA_SCHEMA_HASH_TAG) as $k => $v) {
         // Make'em ...
         $this->_Q(_S($v));
     }
     // Get an MPTT Object, build the ROOT, make sure the table is OK;
     self::$objMPTT = new MPTT(self::$objCategoryTable, MPTT::mpttAddUnique(new S(__CLASS__), new S((string) $_SERVER['REQUEST_TIME'])));
 }
开发者ID:ajbm6,项目名称:raphpframework,代码行数:37,代码来源:00_Newsletter.php


注:本文中的Newsletter::objLetterTable方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。