Paperyard
|
Go to the source code of this file.
Classes | |
class | pdfSorter |
Sorts thru PDF documents and puts them into corresponding folders etc. More... | |
Variables | |
$db =new dbHandler() | |
$ppyrd = new ppyrd($db) | |
const | ATTRIBUTE_PATTERN = '/^(.*?) - (.*?) - (.*?) \((.*?)\) \(EUR(.*?)\) \[(?<tags>.*?)\] -- (.*?)(?:.pdf)$/' |
$outbox = glob("/data/outbox/*.pdf") | |
$inbox = glob("/data/inbox/*.pdf") | |
$documents = array_merge($outbox, $inbox) | |
$pdfs = glob("*.pdf") | |
$db =new dbHandler() |
creating db handler to talk to DB
Definition at line 145 of file ppyrd.sorter.php.
$documents = array_merge($outbox, $inbox) |
Definition at line 171 of file ppyrd.sorter.php.
$inbox = glob("/data/inbox/*.pdf") |
Definition at line 170 of file ppyrd.sorter.php.
$outbox = glob("/data/outbox/*.pdf") |
Definition at line 169 of file ppyrd.sorter.php.
$pdfs = glob("*.pdf") |
reading all pdf files from current directory
Definition at line 191 of file ppyrd.sorter.php.
Definition at line 146 of file ppyrd.sorter.php.
const ATTRIBUTE_PATTERN = '/^(.*?) - (.*?) - (.*?) \((.*?)\) \(EUR(.*?)\) \[(?<tags>.*?)\] -- (.*?)(?:.pdf)$/' |
Definition at line 165 of file ppyrd.sorter.php.