CoolCMS API

ReportTrait

Table of Contents

Properties

$advertReportManager  : AdvertReportManager

Methods

handleReport()  : void
Writes to the DB: only from the page AJAX; a bare GET (robot, link prefetch) ends with 403.

Properties

Methods

handleReport()

Writes to the DB: only from the page AJAX; a bare GET (robot, link prefetch) ends with 403.

public handleReport(int $advertId) : void
Parameters
$advertId : int
Attributes
#[Requires]
$ajax: true
On this page

Search results