Refactor caption serialization

This commit is contained in:
Romain Neutron
2012-03-20 15:42:59 +01:00
parent a10fb04999
commit 583ee314b4
6 changed files with 280 additions and 19 deletions

View File

@@ -470,7 +470,9 @@ class task_period_ftp extends task_appboxAbstract
{
$sbas_id = phrasea::sbasFromBas($base_id);
$record = new record_adapter($sbas_id, $record_id);
$sdcaption = $record->get_xml();
$sdcaption = $record->get_caption()->serialize(caption_record::SERIALIZE_XML);
$remotefile = $file["filename"];
if ($subdef == 'caption')