Lines Matching refs:entry
22 $entry = parseOptions(); variable
25 $entry = getEntry(); variable
28 $entry->save()->updateArchiveXML();
31 fwrite(STDOUT, "NOTE: Remember to git add " . Entry::ARCHIVE_ENTRIES_REL . $entry->getId() . ".xml …
36 $entry = new Entry;
37 $entry->setTitle(getTitle());
38 $entry->setCategories(selectCategories());
39 if ($entry->isConference()) {
40 $entry->setConfTime(getConfTime());
44 $entry->setImage($image['path'] ?? '', $image['title'] ?? '', $image['link'] ?? '');
46 $entry->setContent(getContent());
48 return $entry;
189 $entry = new Entry;
194 $entry->setTitle($opts['title']);
204 $entry->addCategory($cat);
206 if ($entry->isConference()) {
216 $entry->setConfTime($t);
222 $entry->setImage($opts['image-path'] ?? '', $opts['image-title'] ?? '', $opts['image-link'] ?? '');
229 $entry->setContent($opts['content']);
232 $entry->setContent(stream_get_contents(STDIN));
234 $entry->setContent(file_get_contents($opts['content-file']));
241 return $entry;