Extracts information from shortcut set links.
object $set: The shortcut set object to extract information from.
string $key: The array key indicating what information to extract from each link:
array Array of the requested information from each link.
function getShortcutInformation($set, $key) {
$info = array();
foreach ($set->links as $link) {
$info[] = $link[$key];
}
return $info;
}