uawdijnntqw1x1x1
IP : 216.73.216.54
Hostname : neogeopocket.gameplayer.club
Kernel : Linux neogeopocket.gameplayer.club 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
var
/
www
/
html
/
1c732
/
..
/
1c732
/
.
/
..
/
libraries
/
Prism
/
Utilities
/
ItemHelper.php
/
/
<?php /** * @package Prism * @subpackage Utilities * @author Todor Iliev * @copyright Copyright (C) 2017 Todor Iliev <todor@itprism.com>. All rights reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt */ namespace Prism\Utilities; // no direct access defined('JPATH_PLATFORM') or die; /** * This class contains methods that are used for interacting with data of items. * * @package Prism * @subpackage Utilities * * @deprecated v1.18 */ abstract class ItemHelper { /** * Fetch and filter the IDs of the items. * * <code> * $userIds = Prism\Utilities\ItemHelper::fetchIds($items, "user_id"); * </code> * * @param array $items * @param string $column * * @return array */ public static function fetchIds(array &$items, $column = 'id') { $result = array(); foreach ($items as $key => $item) { if (is_object($item) and isset($item->$column)) { $result[] = (int)$item->$column; } elseif (is_array($item) and array_key_exists($column, $item)) { $result[] = (int)$item[$column]; } else { continue; } } $result = array_filter(array_unique($result)); sort($result); return $result; } }
/var/www/html/1c732/../1c732/./../libraries/Prism/Utilities/ItemHelper.php