app/Http/Controllers/Agent/helpdesk/TicketController.php 1 location
|
@@ 2846-2860 (lines=15) @@
|
| 2843 |
|
} |
| 2844 |
|
} |
| 2845 |
|
|
| 2846 |
|
public static function getSubject($subject) |
| 2847 |
|
{ |
| 2848 |
|
//$subject = $this->attributes['title']; |
| 2849 |
|
$array = imap_mime_header_decode($subject); |
| 2850 |
|
$title = ''; |
| 2851 |
|
if (is_array($array) && count($array) > 0) { |
| 2852 |
|
foreach ($array as $text) { |
| 2853 |
|
$title .= $text->text; |
| 2854 |
|
} |
| 2855 |
|
|
| 2856 |
|
return wordwrap($title, 70, "<br>\n"); |
| 2857 |
|
} |
| 2858 |
|
|
| 2859 |
|
return wordwrap($subject, 70, "<br>\n"); |
| 2860 |
|
} |
| 2861 |
|
|
| 2862 |
|
public function replyContent($content) |
| 2863 |
|
{ |
app/Model/helpdesk/Ticket/Ticket_Thread.php 1 location
|
@@ 133-147 (lines=15) @@
|
| 130 |
|
return $body; |
| 131 |
|
} |
| 132 |
|
|
| 133 |
|
public function getSubject() |
| 134 |
|
{ |
| 135 |
|
$subject = $this->attributes['title']; |
| 136 |
|
$array = imap_mime_header_decode($subject); |
| 137 |
|
$title = ''; |
| 138 |
|
if (is_array($array) && count($array) > 0) { |
| 139 |
|
foreach ($array as $text) { |
| 140 |
|
$title .= $text->text; |
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
return wordwrap($title, 70, "<br>\n"); |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
return wordwrap($subject, 70, "<br>\n"); |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
public function user() |
| 150 |
|
{ |
app/Model/helpdesk/Ticket/Ticket_ThreadOld.php 1 location
|
@@ 129-143 (lines=15) @@
|
| 126 |
|
return $body; |
| 127 |
|
} |
| 128 |
|
|
| 129 |
|
public function getSubject() |
| 130 |
|
{ |
| 131 |
|
$subject = $this->attributes['title']; |
| 132 |
|
$array = imap_mime_header_decode($subject); |
| 133 |
|
$title = ''; |
| 134 |
|
if (is_array($array) && count($array) > 0) { |
| 135 |
|
foreach ($array as $text) { |
| 136 |
|
$title .= $text->text; |
| 137 |
|
} |
| 138 |
|
|
| 139 |
|
return wordwrap($title, 70, "<br>\n"); |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
return wordwrap($subject, 70, "<br>\n"); |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
public function labels($ticketid) |
| 146 |
|
{ |