function getAllRegistrationFields() { return Registrationfield::getAllRegistrationFields(); }
<?php /* * *********************************************************************** * * SocialApparatus CONFIDENTIAL * __________________ * * [2002] - [2017] SocialApparatus (http://SocialApparatus.co) * All Rights Reserved. * * NOTICE: All information contained herein is, and remains the property of SocialApparatus * and its suppliers, if any. The intellectual and technical concepts contained herein * are proprietary to SocialApparatus and its suppliers and may be covered by U.S. and Foreign * Patents, patents in process, and are protected by trade secret or copyright law. * * Dissemination of this information or reproduction of this material is strictly forbidden * unless prior written permission is obtained from SocialApparatus. * * Contact Shane Barron admin@socia.us for more information. */ namespace SocialApparatus; denyDirect(); $registration_fields = Registrationfield::getAllRegistrationFields(); echo display("registration:before"); foreach ($registration_fields as $field) { echo display("input/" . $field['field_type'], array("name" => $field['name'], "label" => NULL, "value" => NULL, "class" => "form-control", "placeholder" => $field['label'], "options_values" => $field['options_values'], "form_group" => true)); } echo display("registration:after"); echo display("input/submit", array("label" => translate("register:form:button"), "class" => "btn btn-success pull-right"));