$pdo
-$pdo : \PDO-
- - -
From a22425e8c781c1b5e8a3707ea67736673d6bc797 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 15 Feb 2015 10:15:59 +0100 Subject: Updated makefile, removed docs (users can compile it themselves if they want) --- docs/classes/file.html | 611 ------------------------------------------------- 1 file changed, 611 deletions(-) delete mode 100644 docs/classes/file.html (limited to 'docs/classes/file.html') diff --git a/docs/classes/file.html b/docs/classes/file.html deleted file mode 100644 index 09e824e..0000000 --- a/docs/classes/file.html +++ /dev/null @@ -1,611 +0,0 @@ - - -
- - -An interface to the file table in the database
- - - -__construct(\PDO $pdo, integer $id)-
Create a new instance
- - -\PDO | -$pdo | -The PDO class, to access the database |
-
integer | -$id | -The id of the file to fetch |
-
If something went wrong with the database
If the file could not be found
delete() : boolean-
Move this file to the trash and delete all records for it
-Physically, this moves the file to a trash folder -Then, the file will be removed from the file table in the database -Any appendices linking to this file with fileId will have fileId NULL -Any offers linking to this file with invoice_fileId will have invoice_fileId NULL
- - -If there's something wrong with the database
True on success, false on failure
- -