<commit_before><?php

/**
 * This file is part of the OpenPNE package.
 * (c) OpenPNE Project (http://www.openpne.jp/)
 *
 * For the full copyright and license information, please view the LICENSE
 * file and the NOTICE file that were distributed with this source code.
 */


/**
 * opMemberCsvList
 *
 * @package    opCsvExportPlugin
 * @subpackage model
 * @author     <NAME> <<EMAIL>>
 * @author     <NAME> <<EMAIL>>
 */
class opMemberCsvList
{
  private
    $lineTerminate   = "\r\n",
    $recordEndOfLine = "\r\n",
    $fieldsTerminate = ',',
    $escape          = '"',
    $enclose         = '"';

  const UTF8 = 'UTF-8';
  const SJIS = 'SJIS-win';

  static private $encodes = array(
    self::UTF8 => 'UTF-8',
    self::SJIS => 'SJIS',
  );

  private $profileList = array();

  // default UTF-8.
  private $usedEncode = self::UTF8;

  public function __construct()
  {
    $this->profileList = Doctrine_Core::getTable('Profile')->retrievesAll();<commit_msg>To change the position that defines the member variables (refs #3479)<commit_after><?php

/**
 * This file is part of the OpenPNE package.
 * (c) OpenPNE Project (http://www.openpne.jp/)
 *
 * For the full copyright and license information, please view the LICENSE
 * file and the NOTICE file that were distributed with this source code.
 */


/**
 * opMemberCsvList
 *
 * @package    opCsvExportPlugin
 * @subpackage model
 * @author     <NAME> <<EMAIL>>
 * @author     <NAME> <<EMAIL>>
 */
class opMemberCsvList
{
  private
    $lineTerminate   = "\r\n",
    $recordEndOfLine = "\r\n",
    $fieldsTerminate = ',',
    $escape          = '"',
    $enclose         = '"';

  const UTF8 = 'UTF-8';
  const SJIS = 'SJIS-win';

  static private $encodes = array(
    self::UTF8 => 'UTF-8',
    self::SJIS => 'SJIS',
  );

  // default UTF-8.
  private $usedEncode = self::UTF8;

  private $profileList = array();

  public function __construct()
  {
    $this->profileList = Doctrine_Core::getTable('Profile')->retrievesAll();
{'fraction_non_alphanumeric': 0.15226130653266332, 'fraction_numerical': 0.008040201005025126, 'mean_word_length': 2.974051896207585, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '347537', 'n_tokens_mistral': 678, 'n_tokens_neox': 657, 'n_words': 177}