⚝
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
/
kronolith
/
lib
/
Ajax
/
Imple
/
View File Name :
ResourceAutoCompleter.php
* @category Horde * @license http://www.horde.org/licenses/gpl GPL * @package Kronolith */ class Kronolith_Ajax_Imple_ResourceAutoCompleter extends Horde_Core_Ajax_Imple_AutoCompleter { /** */ protected function _getAutoCompleter() { $opts = array(); foreach (array('box', 'onAdd', 'onRemove', 'triggerContainer') as $val) { if (isset($this->_params[$val])) { $opts[$val] = $this->_params[$val]; } } if (empty($this->_params['pretty'])) { return new Horde_Core_Ajax_Imple_AutoCompleter_Ajax($opts); } $opts['filterCallback'] = <<
listResources(Horde_Perms::READ, array(), 'name'); foreach ($resources as $r) { if (strpos(Horde_String::lower($r->get('name')), Horde_String::lower($input)) !== false) { $ret[] = array( 'name' => $r->get('name'), 'code' => $r->getId()); } } return $ret; } }