From b9725dd559ca286f4660fe2878bbfebf0cddba1a Mon Sep 17 00:00:00 2001 From: inghamn Date: Wed, 6 Jan 2010 17:10:27 +0000 Subject: [PATCH] Added the XML service for interments git-svn-id: https://rosehill.googlecode.com/svn/branches/php@29 100bd78a-fc82-11de-b5bc-ffd2847a4b57 --- blocks/xml/interments/intermentList.inc | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 blocks/xml/interments/intermentList.inc diff --git a/blocks/xml/interments/intermentList.inc b/blocks/xml/interments/intermentList.inc new file mode 100644 index 0000000..9276f17 --- /dev/null +++ b/blocks/xml/interments/intermentList.inc @@ -0,0 +1,29 @@ + + + * @param IntermentList $this->intermentList + * @param GET sort + */ +foreach ($this->intermentList as $interment) { + $last = View::escape($interment->getLastname()); + $first = View::escape($interment->getFirstname()); + $date = $interment->getDeceasedDate('Y-m-d'); + $cemetery_name = View::escape($interment->getCemetery()); + $section = View::escape($interment->getSection()); + $lot = View::escape($interment->getLot()); + echo " + getId()}\"> + $last + $first + $date + getCemetery_id()}\">$cemetery_name +
getSection_id()}\">$section
+ $lot +
+ "; +} +?> +