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


PHP DrupalSqlBase::initializeIterator方法代码示例

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


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

示例1: initializeIterator

 /**
  * {@inheritdoc}
  */
 protected function initializeIterator()
 {
     $this->publicPath = $this->variableGet('file_public_path', 'sites/default/files');
     $this->privatePath = $this->variableGet('file_private_path', NULL);
     $this->temporaryPath = $this->variableGet('file_temporary_path', '/tmp');
     return parent::initializeIterator();
 }
开发者ID:ravindrasingh22,项目名称:Drupal-8-rc,代码行数:10,代码来源:File.php

示例2: initializeIterator

 /**
  * {@inheritdoc}
  */
 public function initializeIterator()
 {
     $conf_path = isset($this->configuration['conf_path']) ? $this->configuration['conf_path'] : 'sites/default';
     $this->filePath = $this->variableGet('file_directory_path', $conf_path . '/files') . '/';
     $this->tempFilePath = $this->variableGet('file_directory_temp', '/tmp') . '/';
     return parent::initializeIterator();
 }
开发者ID:dev981,项目名称:gaptest,代码行数:10,代码来源:UserPictureFile.php

示例3: initializeIterator

 /**
  * {@inheritdoc}
  */
 protected function initializeIterator()
 {
     $this->teaserLength = $this->variableGet('teaser_length', 600);
     $this->nodePreview = $this->variableGet('node_preview', 0);
     $this->themeSettings = $this->variableGet('theme_settings', array());
     return parent::initializeIterator();
 }
开发者ID:dev981,项目名称:gaptest,代码行数:10,代码来源:NodeType.php

示例4: initializeIterator

 /**
  * {@inheritdoc}
  */
 protected function initializeIterator()
 {
     $filter_roles = $this->select('filter_formats', 'f')->fields('f', array('format', 'roles'))->execute()->fetchAllKeyed();
     foreach ($filter_roles as $format => $roles) {
         // Drupal 6 code: $roles = ','. implode(',', $roles) .',';
         // Remove the beginning and ending comma.
         foreach (explode(',', trim($roles, ',')) as $rid) {
             $this->filterPermissions[$rid][] = $format;
         }
     }
     return parent::initializeIterator();
 }
开发者ID:ddrozdik,项目名称:dmaps,代码行数:15,代码来源:Role.php

示例5: initializeIterator

 /**
  * {@inheritdoc}
  */
 protected function initializeIterator()
 {
     $this->defaultTheme = $this->variableGet('theme_default', 'Garland');
     $this->adminTheme = $this->variableGet('admin_theme', null);
     return parent::initializeIterator();
 }
开发者ID:ddrozdik,项目名称:dmaps,代码行数:9,代码来源:Block.php

示例6: initializeIterator

 /**
  * {@inheritdoc}
  */
 protected function initializeIterator()
 {
     $this->nodeTypes = $this->select('node_type', 'nt')->fields('nt', array('type', 'name'))->execute()->fetchAllKeyed();
     return parent::initializeIterator();
 }
开发者ID:eigentor,项目名称:tommiblog,代码行数:8,代码来源:CommentType.php

示例7: initializeIterator

 /**
  * {@inheritdoc}
  */
 protected function initializeIterator()
 {
     $this->filterDefaultFormat = $this->variableGet('filter_default_format', '1');
     return parent::initializeIterator();
 }
开发者ID:dev981,项目名称:gaptest,代码行数:8,代码来源:Node.php


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