Topics

Function ipRepositoryAddFile()

ipRepositoryAddFile — This method copy provided file into repository assuring unique name. Usually the file you want to add to the repository reside in tmp dir or so. Where you had been working on it. After this function is executed, you can safely remove the source file.

Description:

string ipRepositoryAddFile ( string $file , [ null|string $desiredName ] )

This method copy provided file into repository assuring unique name. Usually the file you want to add to the repository reside in tmp dir or so. Where you had been working on it. After this function is executed, you can safely remove the source file.

Package: ImpressPages

Parameters:

string $file absolute path to file in tmp directory.
null|string $desiredName = null desired file name in repository.

Return values:

string relative file name in repository.

Thrown exceptions:

Ip\Exception
comments powered by Disqus