Пример #1
0
function get($name, $dbconn, $params = [])
{
    switch ($name) {
        case 'all_countries':
            $out = all_countries($dbconn);
            return $out;
        case 'all_configurations':
            $out = all_configurations($dbconn);
            return $out;
        case 'mean':
            $out = mean($dbconn, $params);
            return $out;
        case 'country_means':
            $out = country_means($dbconn, $params);
            return $out;
        case 'country_data':
            $out = country_data($dbconn, $params);
            return $out;
        case 'prime_ministers':
            $out = prime_ministers($dbconn, $params);
            return $out;
        case 'years':
            $out = years($dbconn, $params);
            return $out;
    }
    return [];
}
Пример #2
0
                                                        values between indent selection and paragraph selection.</p></div></td>
                                            <td><?php 
echo all_configurations(3);
?>
</td>
                                        </tr></tbody></table>
                            </div>

                            <!-- Frame 35 -->
                            <div id="35" style="display: none;">
                                <div id="contentBox_wide_xl"><p>Paragraph Effects</p></div><br />
                                <table style ='width:60%;  margin-left:7%'><tbody><tr>
                                            <td><div id="contentBox_OA"><p>Finally we look at the
                                                        combinations of values between line spacing and paragraph selection.</p></div></td>
                                            <td><?php 
echo all_configurations(4);
?>
</td>
                                        </tr></tbody></table>
                            </div>

                            <!-- Frame 36 -->
                            <div id="36" style="display: none;">
                                <div id="contentBox_wide_xl"><p>Paragraph Effects</p></div><br />
                                <table style ='width:60%;  margin-left:7%'><tbody><tr>
                                            <td><div id="contentBox_OA"><p>By eliminating the configurations
                                                        that repeat already tested pairwise combinations and some simple
                                                        shuffling around you can create this array of 6 different configurations.</p></div></td>
                                            <td><?php 
echo subset();
?>