public function getCriteria(array $attributes = array()) { return craft()->elements->getCriteria(AmFormsModel::ElementTypeSubmission, $attributes); }