⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
imp
/
lib
/
Flag
/
Edit File: Imap.php
<?php /** * Copyright 2010-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.horde.org/licenses/gpl. * * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ /** * This class provides the data structure for a message flag. * * @author Michael Slusarz <slusarz@horde.org> * @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP * * @property-read string $imapflag The IMAP flag string. */ abstract class IMP_Flag_Imap extends IMP_Flag_Base { /** * The IMAP flag string used on the server. * * @var string */ protected $_imapflag; /** */ public function __get($name) { switch ($name) { case 'id': case 'imapflag': return $this->_imapflag; default: return parent::__get($name); } } /** * @param array $data List of IMAP flags. */ public function match($data) { foreach ($data as $val) { if (strcasecmp($this->imapflag, $val) === 0) { return true; } } return false; } }
Simpan