HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: /virtual/nagasaki/public_html/ec/src/Eccube/Entity/ExportCsvRow.php
<?php

namespace Eccube\Entity;

class ExportCsvRow extends \Eccube\Entity\AbstractEntity
{
    /**
     * @var \Doctrine\Common\Collections\Collection
     */
    private $row = array();

    /**
     * @var string
     */
    private $data = null;

    /**
     * Set data
     *
     * @param string $data
     * @return \Eccube\Entity\ExportCsvRow
     */
    public function setData($data = null) {
        $this->data = $data;
        return $this;
    }

    /**
     * Is data null
     * @return boolean
     */
    public function isDataNull() {
        if (is_null($this->data)) {
            return true;
        } else {
            return false;
        }
    }

    /**
     * Push data
     */
    public function pushData() {
        $this->row[] = $this->data;
        $this->data = null;
    }

    /**
     * Get row
     *
     * @return \Doctrine\Common\Collections\Collection
     */
    public function getRow()
    {
        return $this->row;
    }
}