/**
  * Returns userobject by id
  *
  * @param integer $id
  * @param boolean $asObject
  * @return object or array
  */
 static function fetch($id, $asObject = true)
 {
     $object = eZPersistentObject::fetchObject(CjwNewsletterUser::definition(), null, array('id' => (int) $id), $asObject);
     return $object;
 }