protected getDictionary ( |
||
$collection | ||
리턴 | array |
protected function getDictionary($collection)
{
$dictionary = array();
foreach ($collection as $value) {
$dictionary[$value->getId()] = $value;
}
return $dictionary;
}