From 8abf48dd79561fd6605604de8714d4eaf4870942 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 15 Mar 2009 22:23:04 +0000 Subject: Move atom, developer, polar_rose and gmaps modules into gallery-contrib --- modules/atom/libraries/Atom_Entry.php | 52 ----------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 modules/atom/libraries/Atom_Entry.php (limited to 'modules/atom/libraries/Atom_Entry.php') diff --git a/modules/atom/libraries/Atom_Entry.php b/modules/atom/libraries/Atom_Entry.php deleted file mode 100644 index 70bc6e3a..00000000 --- a/modules/atom/libraries/Atom_Entry.php +++ /dev/null @@ -1,52 +0,0 @@ -element->appendChild($this->dom->createElement("id", $id)); - return $this; - } - - public function updated($timestamp) { - $this->element->appendChild( - $this->dom->createElement("updated", atom::unix_to_internet_timestamp($timestamp))); - return $this; - } - - public function title($title) { - $this->element->appendChild($this->dom->createElement("title", $title)); - return $this; - } - - public function content($text, $type="html") { - $content = $this->dom->createElement("content", html::specialchars($text)); - $content->setAttribute("type", $type); - $this->element->appendChild($content); - return $this; - } - - public function author() { - return $this->add_child("Atom_Author", "author"); - } - - public function link() { - return $this->add_child("Atom_Link", "link"); - } -} -- cgit v1.2.3