⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
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
/
Search
/
View File Name :
Filter.php
* @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Search_Filter extends IMP_Search_Query { /** * Display this filter in the preferences screen? * * @var boolean */ public $prefDisplay = true; /** */ public function __get($name) { switch ($name) { case 'querytext': $text = array(); foreach ($this->_criteria as $elt) { $text[] = $elt->queryText(); if (!($elt instanceof IMP_Search_Element_Or)) { $text[] = _("and"); } } array_pop($text); return sprintf(_("Search %s"), implode(' ', $text)); } return parent::__get($name); } /** * Creates a query object from this filter. * * @param array $mboxes The list of mailboxes to apply the filter to. * @param string $id The query ID to use. * * @return IMP_Search_Query A query object. */ public function toQuery(array $mboxes, $id = null) { return new IMP_Search_Query(array( 'add' => $this->_criteria, 'id' => $id, 'label' => $this->label, 'mboxes' => $mboxes )); } }