getBlockContext() public method

..) for this block.
public getBlockContext ( $contextId = null ) : integer
$contextId int Context ID (journal/press)
return integer
 /**
  * Get the block context. Overrides parent so that the plugin will be
  * displayed during install.
  * @return int
  */
 function getBlockContext()
 {
     if (!Config::getVar('general', 'installed')) {
         return BLOCK_CONTEXT_RIGHT_SIDEBAR;
     }
     return parent::getBlockContext();
 }
 /**
  * Get the block context. Overrides parent so that the plugin will be
  * displayed during install.
  * @return int
  */
 function getBlockContext()
 {
     if (!Config::getVar('general', 'installed')) {
         return BLOCK_CONTEXT_HOMEPAGE;
     }
     return parent::getBlockContext();
 }
 /**
  * @see BlockPlugin::getBlockContext()
  */
 function getBlockContext()
 {
     $blockContext = parent::getBlockContext();
     // Place the block on the left by default
     // where navigation will usually be expected
     // by the user.
     if (!in_array($blockContext, $this->getSupportedContexts())) {
         $blockContext = BLOCK_CONTEXT_LEFT_SIDEBAR;
     }
     return $blockContext;
 }
 /**
  * @see BlockPlugin::getBlockContext()
  */
 function getBlockContext()
 {
     $blockContext = parent::getBlockContext();
     // Place the block on the right by default.
     if (!in_array($blockContext, $this->getSupportedContexts())) {
         $blockContext = BLOCK_CONTEXT_SIDEBAR;
     }
     return $blockContext;
 }