Ejemplo n.º 1
0
 public function get_UserInstitutionType()
 {
     return DS_UserInstitutionType::from_mysql_id($this->UserInstitutionType_id);
 }
Ejemplo n.º 2
0
                </tr>

                <tr>
                    <td class="noWrap horizontalPadding tdFormLabel">* <?php 
    echo Language::string(419);
    ?>
:</td>
                    <td><span class="tooltip spanIcon ui-icon ui-icon-help" title="<?php 
    echo Language::string(420);
    ?>
"></span></td>
                    <td class="fullWidth">
                        <div class="horizontalMargin">
                            <select id="dd_register_select_intitution_type" class="fullWidth ui-widget-content ui-corner-all">
                                <?php 
    foreach (DS_UserInstitutionType::get_all() as $it) {
        ?>
                                    <option value="<?php 
        echo $it->id;
        ?>
"><?php 
        echo $it->get_name();
        ?>
</option>
                                <?php 
    }
    ?>
                            </select>
                        </div>
                    </td>
                </tr>
Ejemplo n.º 3
0
 public static function reset_db()
 {
     CustomSection::create_db(true);
     CustomSectionVariable::create_db(true);
     DS_Module::create_db(true);
     DS_Right::create_db(true);
     DS_Sharing::create_db(true);
     DS_TestSectionType::create_db(true);
     DS_UserInstitutionType::create_db(true);
     Setting::create_db(true);
     Table::create_db(true);
     TableColumn::create_db(true);
     Template::create_db(true);
     Test::create_db(true);
     TestSection::create_db(true);
     TestSectionValue::create_db(true);
     TestSession::create_db(true);
     TestSessionReturn::create_db(true);
     TestTemplate::create_db(true);
     TestVariable::create_db(true);
     User::create_db(true);
     UserGroup::create_db(true);
     UserType::create_db(true);
     UserTypeRight::create_db(true);
 }