PHP Class ActivityController, vanilla

Inheritance: extends BaseController
Afficher le fichier Open project: vanilla/vanilla Class Usage Examples

Méthodes publiques

Свойство Type Description
$ActivityModel ActivityModel
$Uses Models to include.

Méthodes publiques

Méthode Description
__get ( $Name ) : Gdn_DataSet Create some virtual properties.
comment ( ) Comment on an activity item.
delete ( integer $ActivityID = '', string $TransientKey = '' ) Delete an activity item.
deleteComment ( $ID, $TK, $Target = '' )
index ( $Filter = false, $Page = false ) Default activity stream.
initialize ( ) Include JS, CSS, and modules used by all methods.
item ( integer $ActivityID ) Display a single activity item & comments.
post ( boolean $Notify = false, boolean $UserID = false )

Method Details

__get() public méthode

Create some virtual properties.
public __get ( $Name ) : Gdn_DataSet
$Name
Résultat Gdn_DataSet

comment() public méthode

Comment on an activity item.
Since: 2.0.0
public comment ( )

delete() public méthode

Delete an activity item.
Since: 2.0.0
public delete ( integer $ActivityID = '', string $TransientKey = '' )
$ActivityID integer Unique ID of item to delete.
$TransientKey string Verify intent.

deleteComment() public méthode

public deleteComment ( $ID, $TK, $Target = '' )

index() public méthode

Default activity stream.
Since: 2.0.0
public index ( $Filter = false, $Page = false )

initialize() public méthode

Always called by dispatcher before controller's requested method.
Since: 2.0.0
public initialize ( )

item() public méthode

Email notifications regarding activities link to this method.
Since: 2.0.0
public item ( integer $ActivityID )
$ActivityID integer Unique ID of activity item to display.

post() public méthode

public post ( boolean $Notify = false, boolean $UserID = false )
$Notify boolean
$UserID boolean

Property Details

$ActivityModel public_oe property

public ActivityModel $ActivityModel
Résultat ActivityModel

$Uses public_oe property

Models to include.
public $Uses