Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PageInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Cms\Api\Data;
7 
13 interface PageInterface
14 {
18  const PAGE_ID = 'page_id';
19  const IDENTIFIER = 'identifier';
20  const TITLE = 'title';
21  const PAGE_LAYOUT = 'page_layout';
22  const META_TITLE = 'meta_title';
23  const META_KEYWORDS = 'meta_keywords';
24  const META_DESCRIPTION = 'meta_description';
25  const CONTENT_HEADING = 'content_heading';
26  const CONTENT = 'content';
27  const CREATION_TIME = 'creation_time';
28  const UPDATE_TIME = 'update_time';
29  const SORT_ORDER = 'sort_order';
30  const LAYOUT_UPDATE_XML = 'layout_update_xml';
31  const CUSTOM_THEME = 'custom_theme';
32  const CUSTOM_ROOT_TEMPLATE = 'custom_root_template';
33  const CUSTOM_LAYOUT_UPDATE_XML = 'custom_layout_update_xml';
34  const CUSTOM_THEME_FROM = 'custom_theme_from';
35  const CUSTOM_THEME_TO = 'custom_theme_to';
36  const IS_ACTIVE = 'is_active';
44  public function getId();
45 
51  public function getIdentifier();
52 
58  public function getTitle();
59 
65  public function getPageLayout();
66 
73  public function getMetaTitle();
74 
80  public function getMetaKeywords();
81 
87  public function getMetaDescription();
88 
94  public function getContentHeading();
95 
101  public function getContent();
102 
108  public function getCreationTime();
109 
115  public function getUpdateTime();
116 
122  public function getSortOrder();
123 
129  public function getLayoutUpdateXml();
130 
136  public function getCustomTheme();
137 
143  public function getCustomRootTemplate();
144 
150  public function getCustomLayoutUpdateXml();
151 
157  public function getCustomThemeFrom();
158 
164  public function getCustomThemeTo();
165 
171  public function isActive();
172 
179  public function setId($id);
180 
187  public function setIdentifier($identifier);
188 
195  public function setTitle($title);
196 
203  public function setPageLayout($pageLayout);
204 
212  public function setMetaTitle($metaTitle);
213 
220  public function setMetaKeywords($metaKeywords);
221 
228  public function setMetaDescription($metaDescription);
229 
236  public function setContentHeading($contentHeading);
237 
244  public function setContent($content);
245 
252  public function setCreationTime($creationTime);
253 
260  public function setUpdateTime($updateTime);
261 
268  public function setSortOrder($sortOrder);
269 
276  public function setLayoutUpdateXml($layoutUpdateXml);
277 
284  public function setCustomTheme($customTheme);
285 
292  public function setCustomRootTemplate($customRootTemplate);
293 
300  public function setCustomLayoutUpdateXml($customLayoutUpdateXml);
301 
308  public function setCustomThemeFrom($customThemeFrom);
309 
316  public function setCustomThemeTo($customThemeTo);
317 
324  public function setIsActive($isActive);
325 }
$title
Definition: default.phtml:14
$id
Definition: fieldset.phtml:14
setCustomThemeFrom($customThemeFrom)
setCustomRootTemplate($customRootTemplate)
setLayoutUpdateXml($layoutUpdateXml)
setMetaDescription($metaDescription)
setCustomLayoutUpdateXml($customLayoutUpdateXml)