40 $pc->create($page,
"pg");
42 '<PageObject HierId="pg"><PageContent><Grid></Grid></PageContent></PageObject>',
43 $page->getXMLFromDom()
51 $pc->create($page,
"pg");
62 <PageObject HierId=
"pg"><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"6" WIDTH_XL=
"6"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"6" WIDTH_XL=
"6"/></Grid></PageContent></PageObject>
67 $page->getXMLFromDom()
75 $pc->create($page,
"pg");
86 <PageObject HierId=
"pg"><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"3" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"3" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"3" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"3" WIDTH_XL=
"3"/></Grid></PageContent></PageObject>
91 $page->getXMLFromDom()
99 $pc->create($page,
"pg");
113 $page->stripHierIDs();
116 <PageObject><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"4" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"8" WIDTH_XL=
"9"/></Grid></PageContent></PageObject>
121 $page->getXMLFromDom()
129 $pc->create($page,
"pg");
157 $page->stripHierIDs();
160 <PageObject><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"12" WIDTH_L=
"6" WIDTH_XL=
"6"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"12" WIDTH_L=
"6" WIDTH_XL=
"6"/></Grid></PageContent></PageObject>
165 $page->getXMLFromDom()
173 $pc->create($page,
"pg");
183 $pc->deleteGridCell(
"1_2",
"");
184 $page->stripHierIDs();
187 <PageObject><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"8" WIDTH_XL=
"9"/></Grid></PageContent></PageObject>
192 $page->getXMLFromDom()
200 $pc->create($page,
"pg");
209 $pc->addGridCell(12, 12, 12, 6);
212 <PageObject HierId=
"pg"><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"3" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"12" WIDTH_L=
"12" WIDTH_XL=
"6"/></Grid></PageContent></PageObject>
217 $page->getXMLFromDom()
225 $pc->create($page,
"pg");
237 <PageObject HierId=
"pg"><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"3" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"" WIDTH_M=
"" WIDTH_L=
"" WIDTH_XL=
""/></Grid></PageContent></PageObject>
242 $page->getXMLFromDom()
251 $pc->create($page,
"pg");
297 $pc->create($page,
"pg");
307 $page->insertPCIds();
317 $pc->setDomNode($cont_node);
318 $pc->setHierId($hier_id);
319 $pc->setPcId($pc_id);
327 $cell->moveCellRight();
328 $page->stripHierIDs();
332 <PageObject><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"4" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"8" WIDTH_XL=
"9"/></Grid></PageContent></PageObject>
337 $page->getXMLFromDom()
345 $cell->moveCellLeft();
346 $page->stripHierIDs();
350 <PageObject><PageContent><Grid><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"4" WIDTH_XL=
"3"/><GridCell WIDTH_XS=
"" WIDTH_S=
"12" WIDTH_M=
"6" WIDTH_L=
"8" WIDTH_XL=
"9"/></Grid></PageContent></PageObject>
355 $page->getXMLFromDom()
getContentDomNode(string $a_hier_id, string $a_pc_id="")
getCellForHierId(ilPageObject $page, string $hier_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const TEMPLATE_TWO_COLUMN
getPCIdForHierId(string $hier_id)
testApplyTemplateTwoColumn()
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testApplyTemplateManual()
assertXmlEquals(string $expected_xml_as_string, string $html_xml_string)