PHP Class Xpressengine\User\Rating

Author: XE Developers ([email protected])
Mostrar archivo Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$ratings array 회원등급 목록

Public Methods

Method Description
compare ( string $type, string $criterion ) : integer 주어진 키워드와 기준이 되는 키워드의 등급의 높낮이 비교
getAll ( ) : array getAll
getUsableAll ( ) : array 사용 가능한 회원등급을 반환

Method Details

compare() public static method

주어진 키워드와 기준이 되는 키워드의 등급의 높낮이 비교
public static compare ( string $type, string $criterion ) : integer
$type string target rating keyword
$criterion string criterion keyword
return integer

getAll() public static method

getAll
public static getAll ( ) : array
return array

getUsableAll() public static method

guest 는 비회원 상태이므로 배제시킴
public static getUsableAll ( ) : array
return array

Property Details

$ratings protected_oe static_oe property

회원등급 목록
protected static array $ratings
return array