3 declare(strict_types=0);
17 if (!isset(self::$possible_items[$this->obj_id])) {
22 foreach ($cast->getSortedItemsArray() as $item) {
23 $items[$item[
"mob_id"]] = array(
"title" => $item[
"title"]);
39 $tmp[
'title'] = $item[
'title'];
57 $new_collection =
new static($target_obj_id,
$this->mode);
58 $possible_items = $new_collection->getPossibleItems();
59 foreach ($this->items as $item_id) {
60 if (isset($mob_mapping[$item_id]) && isset($possible_items[$mob_mapping[$item_id]])) {
61 $new_collection->addEntry($mob_mapping[$item_id]);
isAssignedEntry(int $a_item_id)
static _lookupObjId(int $ref_id)
LP collection base class.