- Модуль: webdav
- Путь к файлу: ~/bitrix/modules/webdav/classes/webdavtmpfile.php
- Класс: CWebDavTmpFile
- Вызов: CWebDavTmpFile::save
public function save()
{
$t = static::TABLE_NAME;
list($cols, $vals) = static::getDb()->prepareInsert($t, array(
'NAME' => $this->name,
'FILENAME' => $this->filename,
'PATH' => $this->path,
'VERSION' => (int)$this->version,
'IS_CLOUD' => (int)$this->isCloud,
'BUCKET_ID' => (int)$this->bucketId,
'WIDTH' => (int)$this->width,
'HEIGHT' => (int)$this->height,
));
return $this->getDb()->query("INSERT INTO {$t} ({$cols}) VALUES({$vals})");
}