EC-CUBE4 APIドキュメント

OrderPdf extends AbstractEntity

OrderPdf

Tags
ORM\Table

(name="dtb_order_pdf")

ORM\InheritanceType

("SINGLE_TABLE")

ORM\DiscriminatorColumn

(name="discriminator_type", type="string", length=255)

ORM\Entity

(repositoryClass="Eccube\Repository\OrderPdfRepository")

Table of Contents

$ids
$issue_date
$default
$member_id int
$title string
$message1 string
$message2 string
$message3 string
$note1 string
$note2 string
$note3 string
$create_date DateTime
$update_date DateTime
$visible bool
$AnnotationReader
getMemberId() string
setMemberId() $this
getTitle() string
setTitle() $this
getMessage1() string
setMessage1() $this
getMessage2() string
setMessage2() $this
getMessage3() string
setMessage3() $this
getNote1() string
setNote1() $this
getNote2() string
setNote2() $this
getNote3() string
setNote3() $this
getCreateDate() DateTime
setCreateDate() $this
getUpdateDate() DateTime
setUpdateDate() $this
setVisible() Set visible Delivery
isVisible() Is the visibility visible? bool
offsetExists() mixed
offsetSet() mixed
offsetGet() mixed
offsetUnset() mixed
setPropertiesFromArray() 引数の連想配列を元にプロパティを設定します. mixed
toArray() Convert to associative array. array
toNormalizedArray() Convert to associative array, and normalize to association properties. array
toJSON() Convert to JSON. string
toXML() Convert to XML. string
copyProperties() コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー AbstractEntity
setAnnotationReader() Set AnnotationReader. AbstractEntity
getAnnotationReader() Get AnnotationReader. Reader
getEntityIdentifierAsArray() Convert to Entity of Identity value to associative array. array

Properties

$member_id

private int $member_id
Tags
ORM\Column

(name="member_id", type="integer", options={"unsigned":true})

ORM\Id

$title

private string $title
Tags
ORM\Column

(name="title", type="string", nullable=true)

$message1

private string $message1
Tags
ORM\Column

(name="message1", type="string", nullable=true)

$message2

private string $message2
Tags
ORM\Column

(name="message2", type="string", nullable=true)

$message3

private string $message3
Tags
ORM\Column

(name="message3", type="string", nullable=true)

$note1

private string $note1
Tags
ORM\Column

(name="note1", type="string", nullable=true)

$note2

private string $note2
Tags
ORM\Column

(name="note2", type="string", nullable=true)

$note3

private string $note3
Tags
ORM\Column

(name="note3", type="string", nullable=true)

$create_date

private DateTime $create_date
Tags
ORM\Column

(name="create_date", type="datetimetz")

$update_date

private DateTime $update_date
Tags
ORM\Column

(name="update_date", type="datetimetz")

$visible

private bool $visible = true
Tags
ORM\Column

(name="visible", type="boolean", options={"default":true})

Methods

getMemberId()

public getMemberId( ) : string
Return values
string

setMemberId()

public setMemberId( $member_id : ) : $this
Parameters
$member_id :
Return values
$this

getTitle()

public getTitle( ) : string
Return values
string

setTitle()

public setTitle( $title : ) : $this
Parameters
$title :
Return values
$this

getMessage1()

public getMessage1( ) : string
Return values
string

setMessage1()

public setMessage1( $message1 : ) : $this
Parameters
$message1 :
Return values
$this

getMessage2()

public getMessage2( ) : string
Return values
string

setMessage2()

public setMessage2( $message2 : ) : $this
Parameters
$message2 :
Return values
$this

getMessage3()

public getMessage3( ) : string
Return values
string

setMessage3()

public setMessage3( $message3 : ) : $this
Parameters
$message3 :
Return values
$this

getNote1()

public getNote1( ) : string
Return values
string

setNote1()

public setNote1( $note1 : ) : $this
Parameters
$note1 :
Return values
$this

getNote2()

public getNote2( ) : string
Return values
string

setNote2()

public setNote2( $note2 : ) : $this
Parameters
$note2 :
Return values
$this

getNote3()

public getNote3( ) : string
Return values
string

setNote3()

public setNote3( $note3 : ) : $this
Parameters
$note3 :
Return values
$this

getCreateDate()

public getCreateDate( ) : DateTime
Return values
DateTime

setCreateDate()

public setCreateDate( $create_date : ) : $this
Parameters
$create_date :
Return values
$this

getUpdateDate()

public getUpdateDate( ) : DateTime
Return values
DateTime

setUpdateDate()

public setUpdateDate( $update_date : ) : $this
Parameters
$update_date :
Return values
$this

setVisible()

Set visible

public setVisible( $visible : bool ) : Delivery
Parameters
$visible : bool
Return values
Delivery

isVisible()

Is the visibility visible?

public isVisible( ) : bool
Return values
bool

offsetExists()

public offsetExists( $offset : mixed ) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetSet()

public offsetSet( $offset : mixed , $value : mixed ) : mixed
Parameters
$offset : mixed
$value : mixed
Return values
mixed

offsetGet()

public offsetGet( $offset : mixed ) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetUnset()

public offsetUnset( $offset : mixed ) : mixed
Parameters
$offset : mixed
Return values
mixed

setPropertiesFromArray()

引数の連想配列を元にプロパティを設定します.

public setPropertiesFromArray( $arrProps : array [, $excludeAttribute : string[] = [] ] [, $parentClass : ReflectionClass = null ] ) : mixed

DBから取り出した連想配列を, プロパティへ設定する際に使用します.

Parameters
$arrProps : array

プロパティの情報を格納した連想配列

$excludeAttribute : string[] = []

除外したいフィールド名の配列

$parentClass : ReflectionClass = null

親のクラス. 本メソッドの内部的に使用します.

Return values
mixed

toArray()

Convert to associative array.

public toArray( [ $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ] [, $parentClass : ReflectionClass = null ] ) : array

Symfony Serializer Component is expensive, and hard to implementation. Use for encoder only.

Parameters
$excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']

Array of field names to exclusion.

$parentClass : ReflectionClass = null

parent class. Use internally of this method..

Return values
array

toNormalizedArray()

Convert to associative array, and normalize to association properties.

public toNormalizedArray( [ $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ] ) : array

The type conversion such as:

  • Datetime :: W3C datetime format string
  • AbstractEntity :: associative array such as [id => value]
  • PersistentCollection :: associative array of [[id => value], [id => value], ...]
Parameters
$excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']

Array of field names to exclusion.

Return values
array

toJSON()

Convert to JSON.

public toJSON( [ $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ] ) : string
Parameters
$excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']

Array of field names to exclusion.

Return values
string

toXML()

Convert to XML.

public toXML( [ $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ] ) : string
Parameters
$excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']

Array of field names to exclusion.

Return values
string

copyProperties()

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

public copyProperties( $srcObject : object [, $excludeAttribute : string[] = [] ] ) : AbstractEntity
Parameters
$srcObject : object

コピー元のオブジェクト

$excludeAttribute : string[] = []

除外したいフィールド名の配列

Return values
AbstractEntity

getAnnotationReader()

Get AnnotationReader.

public getAnnotationReader( ) : Reader
Return values
Reader

getEntityIdentifierAsArray()

Convert to Entity of Identity value to associative array.

public getEntityIdentifierAsArray( $Entity : AbstractEntity ) : array
Parameters
$Entity : AbstractEntity
Return values
array

associative array of [[id => value], [id => value], ...]

Search results