예제 #1
0
 public function getDisplayType()
 {
     if ($this->displayType == null) {
         $this->load->model('entities/easol/Easol_ReportDisplay');
         $displayType = new Easol_ReportDisplay();
         $this->displayType = $displayType->hydrate($displayType->findOne($this->ReportDisplayId));
     }
     return $this->displayType;
 }
예제 #2
0
echo $model->LabelY;
?>
" >
                </div>
            </div>

            <div class="form-group">
                <label for="ReportDisplayId" class="col-md-4 control-label"><?php 
echo $model->labels()['ReportDisplayId'];
?>
</label>
                <div class="col-md-8">
                    <select class="form-control" id="ReportDisplayId" name="report[ReportDisplayId]">
                        <?php 
$this->load->model("entities/easol/Easol_ReportDisplay", 'Easol_ReportDisplay');
$reportDisplayType = new Easol_ReportDisplay();
foreach ($reportDisplayType->findAll()->result() as $reportDisplay) {
    ?>
                            <option value="<?php 
    echo $reportDisplay->ReportDisplayId;
    ?>
" <?php 
    echo $model->ReportDisplayId == $reportDisplay->ReportDisplayId ? "selected" : "";
    ?>
 ><?php 
    echo $reportDisplay->DisplayName;
    ?>
</option>
                        <?php 
}
?>