Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnadmin.php

Procedural File: pnadmin.php

Source Location: /Blocks/pnadmin.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnadmin.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








blocks_admin_activate [line 206]

string blocks_admin_activate( [int $bid = block id])

activate a block



Tags:

return:  HTML output string
author:  Jim McDonald


Parameters

int   $bid   block id
[ Top ]



blocks_admin_create [line 510]

bool blocks_admin_create( string $title, int $blockid, string $language, string $position)

create a new block



Tags:

return:  true if successful, false otherwise
author:  Jim McDonald
see:  blocks_admin_new()


Parameters

string   $title   the new title of the block
int   $blockid   block id to create
string   $language   the language to assign to the block
string   $position   the position of the block
[ Top ]



blocks_admin_createposition [line 636]

void blocks_admin_createposition( )

display a form to create a new block position



Tags:

author:  Mark West


[ Top ]



blocks_admin_deactivate [line 180]

string blocks_admin_deactivate( [int $bid = block id])

deactivate a block



Tags:

return:  HTML output string
author:  Jim McDonald


Parameters

int   $bid   block id
[ Top ]



blocks_admin_delete [line 557]

string blocks_admin_delete( int 0, bool 1)

delete a block



Tags:

return:  HTML output string
author:  Jim McDonald


Parameters

int   0   bid the block id
bool   1   confirm to delete block
[ Top ]



Blocks_admin_deleteposition [line 768]

mixed Blocks_admin_deleteposition( $args, int $args['pid'], int $args['objectid'], bool $args['confirmation'])

delete a block position



Tags:

return:  HTML string if confirmation is null, true if delete successful, false otherwise
author:  Mark West


Parameters

int   $args['pid']   the id of the position to be deleted
int   $args['objectid']   generic object id maps to pid if present
bool   $args['confirmation']   confirmation that this item can be deleted
   $args  
[ Top ]



blocks_admin_main [line 19]

string blocks_admin_main( )

the main administration function

view() function)




Tags:

return:  HTML output string
author:  Jim McDonald


[ Top ]



blocks_admin_modify [line 232]

string blocks_admin_modify( [int $bid = block ind])

modify a block



Tags:

return:  HTML output string
author:  Jim McDonald


Parameters

int   $bid   block ind
[ Top ]



blocks_admin_modifyconfig [line 812]

string blocks_admin_modifyconfig( )

Any config options would likely go here in the future



Tags:

return:  HTML output string
author:  Jim McDonald


[ Top ]



blocks_admin_modifyposition [line 671]

void blocks_admin_modifyposition( )

display a form to create a new block position



Tags:

author:  Mark West


[ Top ]



blocks_admin_new [line 458]

string blocks_admin_new( )

display form for a new block



Tags:

return:  HTML output string
author:  Jim McDonald


[ Top ]



blocks_admin_newposition [line 617]

void blocks_admin_newposition( )

display a form to create a new block position



Tags:

author:  Mark West


[ Top ]



blocks_admin_showactive [line 168]

string blocks_admin_showactive( )

show active blocks



Tags:

return:  HTML output string
author:  Jim McDonald


[ Top ]



blocks_admin_showall [line 157]

string blocks_admin_showall( )

show all blocks



Tags:

return:  HTML output string
author:  Jim McDonald


[ Top ]



blocks_admin_update [line 362]

bool blocks_admin_update( int $bid, string $title, array $positions, array $modules, string $url, string $language, string $content)

update a block



Tags:

return:  true if succesful, false otherwise
author:  Jim McDonald
see:  blocks_admin_modify()


Parameters

int   $bid   block id to update
string   $title   the new title of the block
array   $positions   the new position(s) of the block
array   $modules   the modules to display the block on
string   $url   the new URL of the block
string   $language   the new language of the block
string   $content   the new content of the block
[ Top ]



blocks_admin_updateconfig [line 834]

string blocks_admin_updateconfig( )

Set config variable(s)



Tags:

return:  bool true if successful, false otherwise
author:  Jim McDonald


[ Top ]



blocks_admin_updateposition [line 733]

void blocks_admin_updateposition( )

display a form to create a new block position



Tags:

author:  Mark West


[ Top ]



blocks_admin_view [line 34]

string blocks_admin_view( )

View all blocks



Tags:

return:  HTML output string
author:  Jim McDonald


[ Top ]


Packages:

Files:

Classes: