Public Member Functions

CoreBlocks Class Reference

Inheritance diagram for CoreBlocks:
Collaboration diagram for CoreBlocks:

List of all members.

Public Member Functions

 action_init ()
 filter_block_list ($block_list)
 action_block_form_recent_comments ($form, $block)
 action_block_content_recent_comments ($block, $theme)
 action_block_form_recent_posts ($form, $block)
 action_block_content_recent_posts ($block, $theme)
 action_block_form_monthly_archives ($form, $block)
 action_block_content_monthly_archives ($block, $theme)
 filter_block_content_type_monthly_archives ($types, $block)
 action_block_form_tag_archives ($form, $block)
 action_block_content_tag_archives ($block, $theme)
 filter_block_content_type_tag_archives ($types, $block)
 action_block_form_meta_links ($form, $block)
 action_block_content_meta_links ($block, $theme)
 action_block_form_search_form ($form, $block)
 action_block_content_search_form ($block, $theme)

Detailed Description

Create blocks commonly used by site owners.

Definition at line 7 of file coreblocks.plugin.php.


Member Function Documentation

CoreBlocks::action_block_content_meta_links ( block,
theme 
)

Meta Links

Handle meta links block output

Parameters:
Block $block The block instance to be configured
Theme $theme The active theme

Definition at line 321 of file coreblocks.plugin.php.

CoreBlocks::action_block_content_monthly_archives ( block,
theme 
)

Monthly Archives

Handle monthly archive block output

Parameters:
Block $block The block instance to be configured
Theme $theme The active theme

Definition at line 189 of file coreblocks.plugin.php.

CoreBlocks::action_block_content_recent_comments ( block,
theme 
)

Recent Comments

Handle recent comment block output

Parameters:
Block $block The block instance to be configured
Theme $theme The active theme

Definition at line 78 of file coreblocks.plugin.php.

CoreBlocks::action_block_content_recent_posts ( block,
theme 
)

Recent Posts

Handle recent post block output

Parameters:
Block $block The block instance to be configured
Theme $theme The active theme

Definition at line 147 of file coreblocks.plugin.php.

CoreBlocks::action_block_content_search_form ( block,
theme 
)

Search Form

Handle search form block output

Parameters:
Block $block The block instance to be configured
Theme $theme The active theme

Definition at line 361 of file coreblocks.plugin.php.

CoreBlocks::action_block_content_tag_archives ( block,
theme 
)

Tag Archives

Handle tag archive block output

Parameters:
Block $block The block instance to be configured
Theme $theme The active theme

Definition at line 262 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_meta_links ( form,
block 
)

Meta Links

Allow configuration of the meta links options

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured

Definition at line 308 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_monthly_archives ( form,
block 
)

Monthly Archives

Allow configuration of the monthly archive options

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured

Definition at line 173 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_recent_comments ( form,
block 
)

Recent Comments

Allow configuration of the number of recent comments to show

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured

Definition at line 65 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_recent_posts ( form,
block 
)

Recent Posts

Allow configuration of the number of recent posts to show

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured

Definition at line 123 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_search_form ( form,
block 
)

Search Form

Allow configuration of the search form options

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured

Definition at line 348 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_tag_archives ( form,
block 
)

Tag Archives

Allow configuration of the tag archive options

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured

Definition at line 247 of file coreblocks.plugin.php.

CoreBlocks::action_init (  ) 

When the plugin is initialized, register the block templates and set up supporting data.

Definition at line 14 of file coreblocks.plugin.php.

CoreBlocks::filter_block_content_type_monthly_archives ( types,
block 
)

Monthly Archives

Parameters:
Type $type The block template to be used
Block $block The block instance to be configured

Definition at line 229 of file coreblocks.plugin.php.

CoreBlocks::filter_block_content_type_tag_archives ( types,
block 
)

Tag Archives

Parameters:
Type $type The block template to be used
Block $block The block instance to be configured

Definition at line 291 of file coreblocks.plugin.php.

CoreBlocks::filter_block_list ( block_list  ) 

Add available blocks to the list of possible block types.

Parameters:
array $block_list an Associative array of the internal names and display names of blocks
Returns:
array The modified $block_list array

Definition at line 48 of file coreblocks.plugin.php.


The documentation for this class was generated from the following file: