You are here

public function FrxRepoMan::deleteBlock in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxRepoMan.inc \FrxRepoMan::deleteBlock()

Save a data block ...

Parameters

unknown_type $data_block:

unknown_type $data:

File

./FrxRepoMan.inc, line 172
FrxRepoMan.inc Enter description here ... @author davidmetzler

Class

FrxRepoMan
@file FrxRepoMan.inc Enter description here ... @author davidmetzler

Code

public function deleteBlock($data_block) {
  $block = array();
  list($provider, $block_name) = explode('/', $data_block, 2);
  $repos = @$this->repositories[$provider];
  $o = $this
    ->repository($provider);
  if ($o) {
    $block = $o
      ->deleteBlock($block_name);
  }
}