Exemplo n.º 1
0
 function getPropertyVariablesToAssign()
 {
     $propertyVariables = parent::getPropertyVariablesToAssign();
     $upload_manager = new SJB_UploadPictureManager();
     $upload_manager->setFileGroup("pictures");
     $newPropertyVariables = array('value' => array('file_url' => $upload_manager->getUploadedFileLink($this->property_info['value']), 'file_name' => $upload_manager->getUploadedFileName($this->property_info['value'])));
     return array_merge($newPropertyVariables, $propertyVariables);
 }