/** * Creates an EchoEvent from the database by ID * * @param $id int Event ID * @return EchoEvent */ public static function newFromID($id) { $obj = new EchoEvent(); $obj->loadFromID($id); return $obj; }