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
Afficher le fichier Open project: ec-cube/ec-cube

Protected Properties

Свойство Type Description
$app

Méthodes publiques

Méthode 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 méthode

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

findUnusedBlocks() public méthode

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

get() public méthode

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

getByUrl() public méthode

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

getPageList() public méthode

この関数は, 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[] 追加の検索パラメーター
Résultat array ページ属性の配列

getReadTemplateFile() public méthode

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
Résultat array

getWriteTemplatePath() public méthode

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

newPageLayout() public méthode

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

setApplication() public méthode

public setApplication ( $app )

Property Details

$app protected_oe property

protected $app