Property | Type | Description | |
---|---|---|---|
$info |
Method | Description | |
---|---|---|
breadcrumb_arrays ( $index, $id ) | * Make an infinity traverse | |
get_NewsData ( array $data ) : array | Parse MVC Data output | |
get_NewsQuery ( array $filters = [] ) : string | ||
set_NewsCatInfo ( $news_cat_id ) : array | Executes category information - $_GET['cat_id'] | |
set_NewsInfo ( ) : array | Executes main page information | |
set_NewsItemInfo ( $news_id ) | Executes single news item information - $_GET['readmore'] |
Method | Description | |
---|---|---|
get_NewsFilter ( ) | Sql filter between $_GET['type'] most commented most recent news most rated | |
news_cat_breadcrumbs ( $news_cat_index ) | News Category Breadcrumbs Generator |
public breadcrumb_arrays ( $index, $id ) |
public static get_NewsData ( array $data ) : array | ||
$data | array | - dbarray of newsQuery() |
return | array |
public static get_NewsQuery ( array $filters = [] ) : string | ||
$filters | array | array('condition', 'order', 'limit') |
return | string |
public set_NewsCatInfo ( $news_cat_id ) : array | ||
$news_cat_id | ||
return | array |
public set_NewsInfo ( ) : array | ||
return | array |
public set_NewsItemInfo ( $news_id ) | ||
$news_id |