Zikula_Core
[ class tree: Zikula_Core ] [ index: Zikula_Core ] [ all elements ]

Procedural File: pnBlocks.php

Source Location: /includes/pnBlocks.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnBlocks.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








blocks [line 516]

void blocks( $side)



Parameters

   $side  
[ Top ]



pnBlockDisplayPosition [line 17]

void pnBlockDisplayPosition( $side $side, [ $echo = true], [ $implode = true])

display all blocks in a block position



Parameters

$side   $side   block position to render
   $echo  
   $implode  
[ Top ]



pnBlockGetInfo [line 480]

array pnBlockGetInfo( value $value, [assocKey $assocKey = 'bid'])

get block information



Tags:

return:  array of block information


Parameters

value   $value   the value to search for
assocKey   $assocKey   the field in which we look for the value (optional) (default='bid')
[ Top ]



pnBlockGetInfoByTitle [line 507]

array pnBlockGetInfoByTitle( title $title)

get block information



Tags:

return:  array of block information


Parameters

title   $title   the block title
[ Top ]



pnBlockLoad [line 225]

bool pnBlockLoad( string $modname, string $block)

load a block



Tags:

return:  true on successful load, false otherwise


Parameters

string   $modname   module name
string   $block   name of the block
[ Top ]



pnBlockLoadAll [line 329]

array pnBlockLoadAll( )

load all blocks



Tags:

return:  array of blocks


[ Top ]



pnBlocksGetInfo [line 467]

array pnBlocksGetInfo( value 0, assocKey 1)

get block information



Tags:

return:  array of block information


Parameters

value   0   the value to search for
assocKey   1   the field in which we look for the value (optional) (default='bid')
[ Top ]



pnBlockShow [line 129]

mixed pnBlockShow( string $modname, string $block, [array $blockinfo = array()])

show a block



Tags:

return:  blockinfo array or null


Parameters

string   $modname   module name
string   $block   name of the block
array   $blockinfo   information parameters
[ Top ]



pnBlockThemeBlock [line 162]

void pnBlockThemeBlock( $row)

Display a block based on the current theme



Parameters

   $row  
[ Top ]



pnBlockVarsFromContent [line 382]

void pnBlockVarsFromContent( $content, the $)

extract an array of config variables out of the content field of a block



Parameters

the   $   content from the db
   $content  
[ Top ]



pnBlockVarsToContent [line 412]

void pnBlockVarsToContent( $vars, the $)

put an array of config variables in the content field of a block



Parameters

the   $   config vars array, in key->value form
   $vars  
[ Top ]



themesideblock [line 524]

void themesideblock( $row)



Parameters

   $row  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:52:43 +0200 by phpDocumentor 1.4.1