Public Member Functions

CoreBlocks Class Reference

Inheritance diagram for CoreBlocks:
Collaboration diagram for CoreBlocks:

List of all members.

Public Member Functions

 action_init ()
 meta_urls ()
 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)
 action_block_form_text ($form, $block)
 action_block_content_text ($block, $theme)

Detailed Description

Create blocks commonly used by site owners.

Definition at line 11 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 347 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 210 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 90 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 163 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 389 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 286 of file coreblocks.plugin.php.

CoreBlocks::action_block_content_text ( block,
theme 
)

Text

Display unformatted text without any markup. If you require HTML output, try the Simple Block plugin instead.

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

Definition at line 422 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 332 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 189 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 75 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 135 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 374 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 268 of file coreblocks.plugin.php.

CoreBlocks::action_block_form_text ( form,
block 
)

Text

Display unformatted text without any markup. If you require HTML output, try the Simple Block plugin instead.

Parameters:
FormUI $form The configuration form for this block
Block $block The block instance to be configured Configuration form with one big textarea. Raw to allow JS/HTML/etc. Insert them at your own peril.

Definition at line 406 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 18 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 250 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 315 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 58 of file coreblocks.plugin.php.

CoreBlocks::meta_urls (  ) 

Encapsulate the list of URLs the block can display

Returns:
array A list of URLs that can be displayed

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

Referenced by action_block_content_meta_links(), and action_block_form_meta_links().


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