Blogmer beta 2


Blog_helper

Blog_helper is core of blogmer.It contains all important functions.It generates post, page, feed in readable format from database.Let's discuss each function one by one.

Beta:  This is an Beta helper. It can be changed anytime.

Functions:

$id : represents post id

Blog_helper Function Reference

final_sidebar_data()

It reads from database and generate array containing sidebar data.

Array contains:

 

Note : It reads a private function for above values then according to blog settings it generate array.

get_post($id)

Generate an array

Array contains :

To generate we use proper blog permission such as guest comment is enabled or not and so on...

do_search()

Return a array with content as index containing all search results.

Final Collection

$this->load->helper('Blog_helper');
final_sidebar_data();
get_post($id);
do_search();