php bootstrap element generation class