PHP 클래스 Frontend\Modules\Pages\Engine\Model

상속: implements Frontend\Modules\Tags\Engine\TagsInterface
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
getForTags ( array $ids ) : array Fetch a list of items for a list of ids
getIdForTags ( Url $url ) : integer Get the id of an item by the full URL of the current page.
getSubpages ( integer $id ) : array Fetch a list of subpages of a page.
search ( array $ids ) : array Parse the search results for this module

메소드 상세

getForTags() 공개 정적인 메소드

Fetch a list of items for a list of ids
public static getForTags ( array $ids ) : array
$ids array The ids of the items to grab.
리턴 array

getIdForTags() 공개 정적인 메소드

Selects the proper part of the full URL to get the item's id from the database.
public static getIdForTags ( Url $url ) : integer
$url Frontend\Core\Engine\Url The current URL.
리턴 integer

getSubpages() 공개 정적인 메소드

Fetch a list of subpages of a page.
public static getSubpages ( integer $id ) : array
$id integer The id of the item to grab the subpages for.
리턴 array