Singleton instance
Returns an instance of Blog
Singleton pattern implementation
Add new comment
Required params
message, blog_id, parent_id
Create admin page for editing all blogs
Allow variables :
$news_lines - html all news lines
$pagination - html paginator
$no_index - TRUE or FALSE
$meta_title, $meta_keywords, $meta_description - all meta tags
Create html for blog detail page
Allow variables:
$text - blog text
$date - blog date
$slider - blog slider
$blog_lines - other blogs html
$category_list - categories html
$blog - array, all params blogs
$comments - html all comments
$form_comment - html form for add new comment
Create blogs html
Allow variables :
$category_id - current category_id
$q - current search query
$blog_lines - html all blogs with limit
$paginator - html current paginator
$category_list - html all categories
$canonical - html meta canonicals
incoming params:
pages - current page
l - limit per page
c - filter by category_id
q - search query
Create comment html
Allow variable
$comments - html line comments
$count_comment - int coun comments
Create html form for admin module on edit blog
Allow variables:
$blog - array
$blog_id - id blog
$images_form - html for edit images for this blog
$comments_form - html for for add comments
$category_select - select with all categoriess
Create slider for blog
Allow valiable :
$slider_lines - html lines for slider
Create html for top blogs
Allow variables:
$news_line - html lines top blogs
Load html top blog category
Documentation generated on Fri, 19 Aug 2016 17:10:28 +0200 by phpDocumentor 1.4.3