public function getRole()
 {
     $this->_data = $this->_loadedFile->getFileData();
     $array = SynchronizationForm::getFlexibilityRole();
     return $array[$this->_data['FLEXIBILITY_ROLE']['value']];
 }
Example #2
0
</td>
        <td><?php 
echo CHtml::error($form, "flexibility_role");
?>
</td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <th><?php 
echo CHtml::activeLabel($form, "main_role");
?>
</th>
        <td><?php 
echo CHtml::activeDropDownList($form, "main_role", SynchronizationForm::getFlexibilityRole(), array('disabled' => $disabled));
?>
</td>
        <td><?php 
echo CHtml::error($form, "main_role");
?>
</td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <th></th>
        <td>
            <?php 
echo CHtml::submitButton('Save server sunc', array('name' => '__save', 'disabled' => $disabled));