⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.127
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 :
~
/
proc
/
self
/
root
/
usr
/
share
/
psa-horde
/
nag
/
lib
/
Edit File: Tasklist.php
<?php /** * Nag_Tasklist is a light wrapper around a Nag tasklist. * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.horde.org/licenses/gpl. * * @author Michael J Rubinsky <mrubinsk@horde.org> * @package Nag */ class Nag_Tasklist { protected $_share; /** * Const'r * * @param Horde_Share_Object_Base The base share for this tasklist. */ public function __construct(Horde_Share_Object $share) { $this->_share = $share; } /** * Convert this tasklist to a hash. * * @return array A hash of tasklist properties. */ public function toHash() { $tasks = Nag::listTasks(array( 'tasklists' => $this->_share->getName(), 'include_history' => false) ); $hash = array( 'name' => Nag::getLabel($this->_share), 'desc' => $this->_share->get('desc'), 'color' => $this->_share->get('color'), 'owner' => $this->_share->get('owner'), 'id' => $this->_share->getName(), 'count' => $tasks->count(), 'smart' => $this->_share->get('issmart') ? true : false, 'overdue' => $tasks->childrenOverdue()); return $hash; } }
Simpan