Festival of Storytelling – British Museum 27th September

September 24th, 2008 by daniel pett
Story telling logo

Story telling logo

If you around Bloomsbury this Saturday, why not call in and see this at the BM:

Celebrating the launch of the Cultural Olympiad
Saturday 27 September, 11.00-16.30
Great Court
Admission free, just drop in

Join us for storytelling from around the world throughout the galleries to celebrate the launch of the Cultural Olympiad, a four-year programme of culture leading up to the London 2012 Olympic and Paralympic Games.

(I had to mention this, my wife has been one of the organisers!)

BC or AD – a zend view helper

September 24th, 2008 by daniel pett

Apologies for the lack of posting on the blogs recently. I’m currently engaged in rebuilding the Scheme database to make it more usable and also more joined up. This is going to take a while and I’m using Zend Framework as the base. I think I should share some code and here’s a view helper for changing negative integers to a BC date and positive integers to an AD date. The class is shown below:


< ?php
class DEJP_View_Helper_ADBC
{
public function ADBC($string="", $suffix="BC", $prefix="AD")
{

if ($string  

And it would be used as such within your view script:


ADBC($table->field);?>

If I create anymore that might be useful, I’ll add them.

The content contained within the Blog's pages do not represent an official position from any of the organisations associated with the Portable Antiquities Scheme. They are solely those of the post's author.