19 declare(strict_types=0);
31 if (!isset(self::$possible_items[$this->obj_id])) {
36 foreach ($cast->getSortedItemsArray() as $item) {
37 $items[$item[
"mob_id"]] = array(
"title" => $item[
"title"]);
53 $tmp[
'title'] = $item[
'title'];
71 $new_collection =
new static($target_obj_id,
$this->mode);
72 $possible_items = $new_collection->getPossibleItems();
73 foreach ($this->items as $item_id) {
74 if (isset($mob_mapping[$item_id]) && isset($possible_items[$mob_mapping[$item_id]])) {
75 $new_collection->addEntry($mob_mapping[$item_id]);
isAssignedEntry(int $a_item_id)
static _lookupObjId(int $ref_id)
LP collection base class.