PHP Class ViewedService

Inheritance: extends CApplicationComponent
显示文件 Open project: yupe/yupe

Public Properties

Property Type Description
$key string

Protected Properties

Property Type Description
$session CHttpSession

Public Methods

Method Description
add ( $productId ) : boolean
count ( )
get ( ) : mixed | null
has ( $productId ) : boolean
init ( )

Protected Methods

Method Description
set ( array $data ) : boolean

Method Details

add() public method

public add ( $productId ) : boolean
$productId
return boolean

count() public method

public count ( )

get() public method

public get ( ) : mixed | null
return mixed | null

has() public method

public has ( $productId ) : boolean
$productId
return boolean

init() public method

public init ( )

set() protected method

protected set ( array $data ) : boolean
$data array
return boolean

Property Details

$key public_oe property

public string $key
return string

$session protected_oe property

protected CHttpSession $session
return CHttpSession