Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
ContactBundle /
Entity /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
ContactMethod.php
1.14
KB
-rwxrwxr-x
2026-05-25 12:28
ContactReason.php
1.14
KB
-rwxrwxr-x
2026-05-25 12:28
MailChimpBatch.php
3.4
KB
-rwxrwxr-x
2026-04-02 11:48
Message.php
15.03
KB
-rwxrwxr-x
2026-05-18 12:51
MessageAttachment.php
1.78
KB
-rwxrwxr-x
2026-05-18 12:51
MessageCredit.php
6.23
KB
-rwxrwxr-x
2026-05-18 12:51
MessageEmbeddedImage.php
1.64
KB
-rwxrwxr-x
2026-05-18 12:51
MessageError.php
2.37
KB
-rwxrwxr-x
2026-05-18 12:51
MessageRecipient.php
8.45
KB
-rwxrwxr-x
2026-05-18 12:51
MessageStat.php
6.03
KB
-rwxrwxr-x
2026-05-18 12:51
MessageType.php
1.18
KB
-rwxrwxr-x
2026-05-25 12:28
Save
Rename
<?php namespace App\ContactBundle\Entity; use App\UserBundle\Entity\UserList; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * MessageRecipient * * @ORM\Table(name="contact_message_recipient") * @ORM\Entity(repositoryClass="App\ContactBundle\Repository\MessageRecipientRepository") */ class MessageRecipient { /** * @ORM\Id * @ORM\Column(type="string", unique=true) * @ORM\GeneratedValue(strategy="CUSTOM") * @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $to_name; /** * @ORM\Column(type="string", length=255) */ private $to_e_mail; /** * @ORM\Column(type="datetime", nullable=true) */ private $date_sent; /** * @ORM\Column(type="boolean", options={"default": false}) */ private $sent; /** * @ORM\ManyToOne(targetEntity="Message", inversedBy="message_recipient") * @ORM\JoinColumn(name="message_id", referencedColumnName="id") */ private $message; /** * @ORM\ManyToOne(targetEntity="App\UserBundle\Entity\UserList", inversedBy="message_recipient") * @ORM\JoinColumn(name="to_user_id", referencedColumnName="id") */ private $to_user; /** * @ORM\OneToMany(targetEntity="MessageError", mappedBy="message_recipient", cascade={"persist", "remove"}) */ private $message_error; /** * @ORM\OneToMany(targetEntity="MessageStat", mappedBy="message_recipient", cascade={"persist", "remove"}) */ private $message_stat; /** * Constructor */ public function __construct() { $this->message_error = new \Doctrine\Common\Collections\ArrayCollection(); $this->message_stat = new ArrayCollection(); } /** * Get id * * @return string */ public function getId() { return $this->id; } /** * Set to_name * * @param string $toName * @return MessageRecipient */ public function setToName($toName) { $this->to_name = $toName; return $this; } /** * Get to_name * * @return string */ public function getToName() { return $this->to_name; } /** * Set to_e_mail * * @param string $toEMail * @return MessageRecipient */ public function setToEMail($toEMail) { $this->to_e_mail = $toEMail; return $this; } /** * Get to_e_mail * * @return string */ public function getToEMail() { return $this->to_e_mail; } /** * Set date_sent * * @param \DateTime $dateSent * @return MessageRecipient */ public function setDateSent($dateSent) { $this->date_sent = $dateSent; return $this; } /** * Get date_sent * * @return \DateTime */ public function getDateSent() { return $this->date_sent; } /** * Set sent * * @param boolean $sent * @return MessageRecipient */ public function setSent($sent) { $this->sent = $sent; return $this; } /** * Get sent * * @return boolean */ public function getSent() { return $this->sent; } /** * Set message * * @param \App\ContactBundle\Entity\Message $message * @return MessageRecipient */ public function setMessage(?\App\ContactBundle\Entity\Message $message = null) { $this->message = $message; return $this; } /** * Get message * * @return \App\ContactBundle\Entity\Message */ public function getMessage() { return $this->message; } /** * Set to_user * * @param \App\UserBundle\Entity\UserList $toUser * @return MessageRecipient */ public function setToUser(?\App\UserBundle\Entity\UserList $toUser = null) { $this->to_user = $toUser; return $this; } /** * Get to_user * * @return \App\UserBundle\Entity\UserList */ public function getToUser() { return $this->to_user; } /** * Add message_error * * @param \App\ContactBundle\Entity\MessageError $messageError * @return MessageRecipient */ public function addMessageError(\App\ContactBundle\Entity\MessageError $messageError) { $this->message_error[] = $messageError; return $this; } /** * Remove message_error * * @param \App\ContactBundle\Entity\MessageError $messageError */ public function removeMessageError(\App\ContactBundle\Entity\MessageError $messageError) { $this->message_error->removeElement($messageError); } /** * Get message_error * * @return \Doctrine\Common\Collections\Collection */ public function getMessageError() { return $this->message_error; } /** * Get object as string * * @return string */ public function __toString() { return $this->to_name; } /** * Get error as string * * @return string */ public function getMessageErrorText() { $return = ''; foreach ($this->getMessageError() as $messageError) { if (strlen($return) > 0) { $return .= '; '; } $return .= $messageError->getText(); } return $return; } /** * Add messageStat * * @param \App\ContactBundle\Entity\MessageStat $messageStat * * @return MessageRecipient */ public function addMessageStat(\App\ContactBundle\Entity\MessageStat $messageStat) { $this->message_stat[] = $messageStat; return $this; } /** * Remove messageStat * * @param \App\ContactBundle\Entity\MessageStat $messageStat */ public function removeMessageStat(\App\ContactBundle\Entity\MessageStat $messageStat) { $this->message_stat->removeElement($messageStat); } /** * Get messageStat * * @return \Doctrine\Common\Collections\Collection */ public function getMessageStat() { return $this->message_stat; } /** * Get stats about message delivered * * @return boolean */ public function getIsDelivered() { $stats = $this->getMessageStat(); foreach ($stats as $stat) { if ($stat->getDelivered()) { return true; } } return false; } /** * Get date about message delivered * * @return string */ public function getDeliveredDateString() { $stats = $this->getMessageStat(); foreach ($stats as $stat) { if ($stat->getDelivered()) { return $stat->getDeliveredDate()->format('j F Y H:i:s'); } } return ''; } /** * Get stats about message read * * @return boolean */ public function getIsRead() { $stats = $this->getMessageStat(); foreach ($stats as $stat) { if ($stat->getIsRead()) { return true; } } return false; } /** * Get date about message read * * @return string */ public function getReadDateString() { $stats = $this->getMessageStat(); foreach ($stats as $stat) { if ($stat->getIsRead()) { return $stat->getReadDate()->format('j F Y H:i:s'); } } return ''; } /** * Get stats about message delivered * * @return boolean */ public function getUnsubscribed() { $stats = $this->getMessageStat(); foreach ($stats as $stat) { if ($stat->getUnsubscribed()) { return true; } } return false; } /** * Get date about message read * * @return string */ public function getUnsubscribedDateString() { $stats = $this->getMessageStat(); foreach ($stats as $stat) { if ($stat->getUnsubscribed()) { return $stat->getUnsubscribedDate()->format('j F Y H:i:s'); } } return ''; } public function isSent(): ?bool { return $this->sent; } }