Пример #1
0
function wtk_id_classes($id, $classes, $type = null, $tooltip = null)
{
    wtk_id($id);
    wtk_classes($classes);
    wtk_djt($type);
    wtk_attr('title', $tooltip);
}
Пример #2
0
        ?>
><?php 
        $this->{$cat_id}->output();
        ?>
</td>
   </tr>
</tr>
 <?php 
        $cat_opened = true;
        ?>
 <?php 
    }
    ?>
   <tr<?php 
    wtk_classes(array(($i + 1) % 2 ? 'odd' : 'even', $rclasses[$i]));
    wtk_djt($rowDojoType);
    ?>
>
    <?php 
    for ($j = 0; $j < $cols; $j++) {
        ?>
       <?php 
        $id = 'cell-' . $i . '-' . $j;
        ?>
    <td<?php 
        wtk_classes($cclasses[$j]);
        ?>
><?php 
        $this->{$id}->output();
        ?>
</td>