Attempting to re-write the moodle cookbook so it doesnt rely on the php cookbook.
It was getting too confusing!