Esempio n. 1
0
 /**
  * Fetch the content for a block. If a block is
  * empty or undefined '' will be returned.
  *
  * @param string $name Name of the block
  * @param string $default Default text
  * @return string default The block content or $default if the block does not exist.
  * @see ViewBlock::get()
  */
 public function fetch($name, $default = '')
 {
     return $this->Blocks->get($name, $default);
 }