Exemplo n.º 1
0
 public static function listConditions()
 {
     $rc = new \ReflectionClass(new \Meta\Builder\Conditions());
     $list = array();
     foreach ($rc->getMethods() as $method) {
         $method instanceof ReflectionMethod;
         if (!$method->isStatic()) {
             $name = $method->getName();
             $list[$name] = array('label' => camelCaseToSpaces($name));
             foreach ($method->getParameters() as $parameter) {
                 $parameter instanceof ReflectionParameter;
                 $list[$name]['params'][] = array('label' => camelCaseToSpaces($parameter->getName()));
             }
         }
     }
     ksort($list);
     return $list;
 }
Exemplo n.º 2
0
    ?>
        <h4>Error: <?php 
    echo $error;
    ?>
</h4>
    <?php 
}
?>


    <?php 
if ($n < count($data)) {
    ?>
        <form action="" method="post">
            <p>Enter your <?php 
    echo camelCaseToSpaces($data[$n]);
    ?>
: &nbsp;
                <input type="text" name="<?php 
    echo $data[$n];
    ?>
"></p>
            <p><input type="submit" value="Далее"></p>
            </form>
    <?php 
}
?>

    <?php 
if (isset($_SESSION['middleName'])) {
    ?>