PHP 클래스 PHPFusion\News\News

상속: extends NewsServer
파일 보기 프로젝트 열기: php-fusion/PHP-Fusion

공개 프로퍼티들

프로퍼티 타입 설명
$info

공개 메소드들

메소드 설명
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']

비공개 메소드들

메소드 설명
get_NewsFilter ( ) Sql filter between $_GET['type'] most commented most recent news most rated
news_cat_breadcrumbs ( $news_cat_index ) News Category Breadcrumbs Generator

메소드 상세

breadcrumb_arrays() 공개 메소드

* Make an infinity traverse
public breadcrumb_arrays ( $index, $id )

get_NewsData() 공개 정적인 메소드

Parse MVC Data output
public static get_NewsData ( array $data ) : array
$data array - dbarray of newsQuery()
리턴 array

get_NewsQuery() 공개 정적인 메소드

public static get_NewsQuery ( array $filters = [] ) : string
$filters array array('condition', 'order', 'limit')
리턴 string

set_NewsCatInfo() 공개 메소드

Executes category information - $_GET['cat_id']
public set_NewsCatInfo ( $news_cat_id ) : array
$news_cat_id
리턴 array

set_NewsInfo() 공개 메소드

Executes main page information
public set_NewsInfo ( ) : array
리턴 array

set_NewsItemInfo() 공개 메소드

Executes single news item information - $_GET['readmore']
public set_NewsItemInfo ( $news_id )
$news_id

프로퍼티 상세

$info 공개적으로 프로퍼티

public $info