PHP Class Eccube\Repository\PageLayoutRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Inheritance: extends Doctrine\ORM\EntityRepository
Mostrar archivo Open project: ec-cube/ec-cube

Protected Properties

Property Type Description
$app

Public Methods

Method Description
findOrCreate ( $page_id, Eccube\Entity\Master\DeviceType $DeviceType )
findUnusedBlocks ( Eccube\Entity\Master\DeviceType $DeviceType, $pageId )
get ( Eccube\Entity\Master\DeviceType $DeviceType, $pageId )
getByUrl ( Eccube\Entity\Master\DeviceType $DeviceType, $url )
getPageList ( Eccube\Entity\Master\DeviceType $DeviceType, string $where = null, string[] $parameters = [] ) : array ページの属性を取得する.
getReadTemplateFile ( string $fileName, boolean $isUser = false ) : array 読み込みファイルの取得
getWriteTemplatePath ( boolean $isUser = false ) : string 書き込みパスの取得 User定義の場合: /html/user_data そうでない場合: /app/template/{template_code}
newPageLayout ( Eccube\Entity\Master\DeviceType $DeviceType )
setApplication ( $app )

Method Details

findOrCreate() public method

public findOrCreate ( $page_id, Eccube\Entity\Master\DeviceType $DeviceType )
$DeviceType Eccube\Entity\Master\DeviceType

findUnusedBlocks() public method

public findUnusedBlocks ( Eccube\Entity\Master\DeviceType $DeviceType, $pageId )
$DeviceType Eccube\Entity\Master\DeviceType

get() public method

public get ( Eccube\Entity\Master\DeviceType $DeviceType, $pageId )
$DeviceType Eccube\Entity\Master\DeviceType

getByUrl() public method

public getByUrl ( Eccube\Entity\Master\DeviceType $DeviceType, $url )
$DeviceType Eccube\Entity\Master\DeviceType

getPageList() public method

この関数は, dtb_pagelayout の情報を検索する. $deviceTypeId は必須. デフォルト値は DEVICE_TYPE_PC.
public getPageList ( Eccube\Entity\Master\DeviceType $DeviceType, string $where = null, string[] $parameters = [] ) : array
$DeviceType Eccube\Entity\Master\DeviceType 端末種別ID
$where string 追加の検索条件
$parameters string[] 追加の検索パラメーター
return array ページ属性の配列

getReadTemplateFile() public method

1. template_realdir app/template/{template_code} 2. template_default_readldir src/Eccube/Resource/template/default
public getReadTemplateFile ( string $fileName, boolean $isUser = false ) : array
$fileName string
$isUser boolean
return array

getWriteTemplatePath() public method

書き込みパスの取得 User定義の場合: /html/user_data そうでない場合: /app/template/{template_code}
public getWriteTemplatePath ( boolean $isUser = false ) : string
$isUser boolean
return string

newPageLayout() public method

public newPageLayout ( Eccube\Entity\Master\DeviceType $DeviceType )
$DeviceType Eccube\Entity\Master\DeviceType

setApplication() public method

public setApplication ( $app )

Property Details

$app protected_oe property

protected $app