Constructor & Destructor Documentation
CONSTRUCTOR
- Parameters:
-
| object | Registry |
| array | Blog data |
- Returns:
- void
Member Function Documentation
Drop cache
public
- Parameters:
-
| int | [blog ID, if nothing passed, will drop all] |
Fetch all cBlogs data
public
- Parameters:
-
| int | Blog ID |
| bool | Force refresh from DB |
- Returns:
- array
Fetch cBlogs data
public
- Parameters:
-
| int | Blog ID |
| bool | Force refresh from DB |
- Returns:
- array
get_cblock_html
Legacy/Shortcut Function for outputting the html from a plugin block
- Parameters:
-
| integer | $cblock_id | |
| string | [$type] Type of output, either get_block or get_config_form |
- Returns:
- string
Get content block name
public
- Parameters:
-
- Returns:
- string Cblock name HTML
Return a plug in object for the specified ID
- Parameters:
-
- Returns:
- object
Recache all
public
- Parameters:
-
Recache blog all blocks
public
- Parameters:
-
| int | Blog ID |
| array | [Content block data ] |
- Returns:
- array Content blocks
Recache blog used blocks
public
- Parameters:
-
| int | Blog ID |
| array | [Content block data ] |
- Returns:
- array Content blocks
show_blocks
- Parameters:
-
| string | $position | Should be either 'right' or 'left' |
- Returns:
- string
Wraps plugin output for ajax return
- Parameters:
-
| object | $plugin | Plugin that generated the content |
| string | $cblock_html_content | The content to wrap |
| int | $xml | Whether request is ajax replace request |
- Returns:
- object
Field Documentation
Registry Object Shortcuts
Reimplemented in cb_last_comments, cb_last_entries, cb_calendar, cb_friends, cb_categories, cb_search, cb_tags, cb_mypicture, cb_rand_album_image, cb_custom, cb_google_shared_items, cb_mybloglog, cb_twitter, cb_visitors, cb_active_users, cb_admin_block, and cb_albums.
The documentation for this class was generated from the following file:
- admin/applications_addon/ips/blog/sources/classes/contentblocks/blocks.php