public function populateFromModel($file) { foreach ($file->getHashValue() as $hashValue) { $hash = new Admin_Model_Hash($file, $hashValue); $hashType = $hash->getHashType(); if (!empty($hashType)) { $signType = $hash->getSignatureType(); switch ($signType) { case 'gpg': break; default: $this->addHashElement($file, $hashValue); break; } } } }