PHP Класс Eccube\Repository\PageLayoutRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Наследование: extends Doctrine\ORM\EntityRepository
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$app

Открытые методы

Метод Описание
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 )

Описание методов

findOrCreate() публичный Метод

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

findUnusedBlocks() публичный Метод

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

get() публичный Метод

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

getByUrl() публичный Метод

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

getPageList() публичный Метод

この関数は, 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[] 追加の検索パラメーター
Результат array ページ属性の配列

getReadTemplateFile() публичный Метод

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
Результат array

getWriteTemplatePath() публичный Метод

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

newPageLayout() публичный Метод

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

setApplication() публичный Метод

public setApplication ( $app )

Описание свойств

$app защищенное свойство

protected $app