Procedural File: pnadmin.php
Source Location: /Blocks/pnadmin.php
Page Details:
Zikula Application Framework
Tags:
blocks_admin_activate [line 206]
string blocks_admin_activate(
[int $bid = block id])
|
|
activate a block
Tags:
Parameters
blocks_admin_create [line 510]
bool blocks_admin_create(
string $title, int $blockid, string $language, string $position)
|
|
create a new block
Tags:
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 |
blocks_admin_createposition [line 636]
void blocks_admin_createposition(
)
|
|
display a form to create a new block position
Tags:
blocks_admin_deactivate [line 180]
string blocks_admin_deactivate(
[int $bid = block id])
|
|
deactivate a block
Tags:
Parameters
blocks_admin_delete [line 557]
string blocks_admin_delete(
int 0, bool 1)
|
|
delete a block
Tags:
Parameters
| int |
0 |
bid the block id |
| bool |
1 |
confirm to delete block |
Blocks_admin_deleteposition [line 768]
mixed Blocks_admin_deleteposition(
$args, int $args['pid'], int $args['objectid'], bool $args['confirmation'])
|
|
delete a block position
Tags:
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 |
|
blocks_admin_main [line 19]
string blocks_admin_main(
)
|
|
the main administration function
view() function)
Tags:
blocks_admin_modify [line 232]
string blocks_admin_modify(
[int $bid = block ind])
|
|
modify a block
Tags:
Parameters
blocks_admin_modifyconfig [line 812]
string blocks_admin_modifyconfig(
)
|
|
Any config options would likely go here in the future
Tags:
blocks_admin_modifyposition [line 671]
void blocks_admin_modifyposition(
)
|
|
display a form to create a new block position
Tags:
blocks_admin_new [line 458]
string blocks_admin_new(
)
|
|
display form for a new block
Tags:
blocks_admin_newposition [line 617]
void blocks_admin_newposition(
)
|
|
display a form to create a new block position
Tags:
blocks_admin_showactive [line 168]
string blocks_admin_showactive(
)
|
|
show active blocks
Tags:
blocks_admin_showall [line 157]
string blocks_admin_showall(
)
|
|
show all blocks
Tags:
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:
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 |
blocks_admin_updateconfig [line 834]
string blocks_admin_updateconfig(
)
|
|
Set config variable(s)
Tags:
blocks_admin_updateposition [line 733]
void blocks_admin_updateposition(
)
|
|
display a form to create a new block position
Tags:
blocks_admin_view [line 34]
string blocks_admin_view(
)
|
|
View all blocks
Tags: