Function createRelatedItemsResultArray
Helper function for getRelatedItems() only. Returns an array with array for each item with name, album (images only), type and weight (search weight value) Excludes the current item itself.
		
		Package: plugins\related-items
Author: Malte Müller (acrylian)
Located at zp-extensions/related_items.php
	
	Author: Malte Müller (acrylian)
Located at zp-extensions/related_items.php
| array | $result | array with search results | 
| string | $type | "albums", "images", "news", "pages" |