Lines Matching refs:Entry
7 use phpweb\News\Entry; alias
15 if (!file_exists(Entry::ARCHIVE_FILE_ABS)) {
16 fwrite(STDERR, "Can't find " . Entry::ARCHIVE_FILE_REL . ", are you sure you are in phpweb/?\n");
30 fwrite(STDOUT, "File saved.\nPlease git diff " . Entry::ARCHIVE_FILE_REL . " and sanity-check the c…
31 fwrite(STDOUT, "NOTE: Remember to git add " . Entry::ARCHIVE_ENTRIES_REL . $entry->getId() . ".xml …
35 function getEntry(): Entry {
36 $entry = new Entry;
61 $ids = array_keys(Entry::CATEGORIES);
65 fprintf(STDOUT, "\t%d: %-11s\t [%s]\n", $n, Entry::CATEGORIES[$id], $id);
77 return is_numeric($c) && ($c >= 0) && ($c < count(Entry::CATEGORIES));
122 if (true === file_exists(Entry::PHPWEB . "/images/news/$path")) {
164 function parseOptions(): Entry {
183 echo " --image-path 'value' Basename of image file in " . Entry::IMAGE_PATH_REL . "\n";
189 $entry = new Entry;