$estimatedTime = $estimatedTime - ($estMinutes * 60);
}
$timeFormatted .= round($estimatedTime) . ' ' . ts('seconds');
- $processedPercent = (int )(($this->_rowCount * 100) / $totalRowCount);
+ $processedPercent = (int ) (($this->_rowCount * 100) / $totalRowCount);
$statusMsg = ts('%1 of %2 records - %3 remaining',
array(1 => $this->_rowCount, 2 => $totalRowCount, 3 => $timeFormatted)
);
</div>
";
- $contents = json_encode (array($processedPercent, $status));
+ $contents = json_encode(array($processedPercent, $status));
file_put_contents($statusFile, $contents);
} */
}
-
if ($mode == self::MODE_PREVIEW || $mode == self::MODE_IMPORT) {
$customHeaders = $mapper;
/**
* Set IM Service Provider type fields
*
- * @param array $elements IM service provider type ids
+ * @param array $elements
+ * IM service provider type ids.
*
* @return void
*/
/**
* Set IM Service Provider type fields for related contacts
*
- * @param array $elements IM service provider type ids of related contact
+ * @param array $elements
+ * IM service provider type ids of related contact.
*
* @return void
*/