Files
le-matelot/local/modules/Comment/Events/CommentCreateEvent.php
2020-01-27 08:56:08 +01:00

271 lines
4.6 KiB
PHP

<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace Comment\Events;
/**
* Class CommentCreateEvent
* @package Comment\Events
* @author Julien Chanséaume <jchanseaume@openstudio.fr>
*
*
*/
class CommentCreateEvent extends CommentEvent
{
/** @var string */
protected $ref;
/** @var int */
protected $refId;
/** @var int */
protected $customerId;
/** @var string */
protected $username;
/** @var string */
protected $email;
/** @var string */
protected $locale;
/** @var string */
protected $title;
/** @var string */
protected $content;
/** @var int */
protected $status;
/** @var boolean */
protected $verified;
/** @var int */
protected $rating;
/** @var int */
protected $abuse;
/**
* @return int
*/
public function getAbuse()
{
return $this->abuse;
}
/**
* @param int $abuse
*/
public function setAbuse($abuse)
{
$this->abuse = $abuse;
return $this;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param string $content
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return int
*/
public function getCustomerId()
{
return $this->customerId;
}
/**
* @param int $customerId
*/
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string $locale
*/
public function setLocale($locale)
{
$this->locale = $locale;
return $this;
}
/**
* @return int
*/
public function getRating()
{
return $this->rating;
}
/**
* @param int $rating
*/
public function setRating($rating)
{
$this->rating = $rating;
return $this;
}
/**
* @return string
*/
public function getRef()
{
return $this->ref;
}
/**
* @param string $ref
*/
public function setRef($ref)
{
$this->ref = $ref;
return $this;
}
/**
* @return int
*/
public function getRefId()
{
return $this->refId;
}
/**
* @param int $refId
*/
public function setRefId($refId)
{
$this->refId = $refId;
return $this;
}
/**
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* @param int $status
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
/**
* @param string $username
*/
public function setUsername($username)
{
$this->username = $username;
return $this;
}
/**
* @return boolean
*/
public function isVerified()
{
return $this->verified;
}
/**
* @param boolean $verified
*/
public function setVerified($verified)
{
$this->verified = $verified;
return $this;
}
}