Пример #1
2
 public function recordPageTypeComposerOutputBlock(\Concrete\Core\Block\Block $block)
 {
     $app = Application::getFacadeApplication();
     $db = $app->make('database')->connection();
     $setControl = $this->getPageTypeComposerFormLayoutSetControlObject();
     $db->executeQuery('insert into PageTypeComposerOutputBlocks (cID, arHandle, ptComposerFormLayoutSetControlID, cbDisplayOrder, bID) values (?, ?, ?, ?, ?)', [$block->getBlockCollectionID(), $block->getAreaHandle(), $setControl->getPageTypeComposerFormLayoutSetControlID(), $block->getBlockDisplayOrder(), $block->getBlockID()]);
 }
Пример #2
1
 public function recordPageTypeComposerOutputBlock(\Concrete\Core\Block\Block $block)
 {
     $db = Loader::db();
     $setControl = $this->getPageTypeComposerFormLayoutSetControlObject();
     $db->Execute('insert into PageTypeComposerOutputBlocks (cID, arHandle, ptComposerFormLayoutSetControlID, cbDisplayOrder, bID) values (?, ?, ?, ?, ?)', array($block->getBlockCollectionID(), $block->getAreaHandle(), $setControl->getPageTypeComposerFormLayoutSetControlID(), $block->getBlockDisplayOrder(), $block->getBlockID()));
 }
Пример #3
0
 public function getBlockDisplayOrder()
 {
     return parent::getBlockDisplayOrder();
 }