/**
  * function checkUniqueField for checkUniqueField Validation for form
  * @param $validator = Validator field 
  * @param $values = Unique field
  * @param $arguments = Extra Parameters 
  */
 public function checkUniqueField($validator, $values, $arguments)
 {
     if (sfGeneral::checkUniqeNameExist($values, $arguments) == 0) {
         return $values;
     } else {
         throw new sfValidatorError($validator, 'invalid');
     }
 }
            } elseif (isset($aField['seperator']) && isset($aField['fieldName']) && $ssFieldName) {
                foreach ($ssFieldName as $snKey => $aValues) {
                    $ssTranslation = preg_match('/Translation/', $aField["fieldName"]) ? substr(htmlspecialchars_decode($aField["fieldName"]), 0, strpos(htmlspecialchars_decode($aField["fieldName"]), 'Translation') + 13) : htmlspecialchars_decode($aField["fieldName"]);
                    eval("\$" . "ssFieldValue = ((count(" . "\$" . "aValues" . $ssTranslation . ") > 0) ? " . "\$" . "aValues" . htmlspecialchars_decode($aField["fieldName"]) . " : '');");
                    echo $ssFieldValue . (count($ssFieldName) - 1 > $snKey ? $aField['seperator'] : "") . " ";
                }
            } elseif (isset($aField['rank'])) {
                echo $snRecordNumber > 1 ? link_to_function(image_tag('admin/up.gif', array('title' => __('Up'))), jq_remote_function(array('update' => $oAppCommon->ssDivId, 'url' => $aField['linkRank'], 'with' => 'jQuery("#frmList").serialize()+"&snRank1=' . ($snRecordNumber - 2) . '&snRank2=' . ($snRecordNumber - 1) . '"'))) : image_tag('admin/blank.gif');
                echo "  ";
                if ($snRecordNumber < $snCount) {
                    echo link_to_function(image_tag('admin/down.gif', array('title' => __('Down'))), jq_remote_function(array('update' => $oAppCommon->ssDivId, 'url' => $aField['linkRank'], 'with' => 'jQuery("#frmList").serialize()+"&snRank1=' . ($snRecordNumber - 1) . '&snRank2=' . $snRecordNumber . '"')));
                }
            } elseif (isset($aField['priceformat']) && $aField['priceformat'] == 'yes') {
                echo sfGeneral::setPriceFormat($ssFieldName);
            } elseif (isset($aField['dateformat']) && $aField['dateformat'] == 'yes') {
                echo sfGeneral::setDateFormat($ssFieldName);
            } else {
                echo $ssFieldName;
            }
            ?>
</td>
	<?php 
        }
        ?>
 <?php 
        if ($oAppCommon->ssShowEditButton) {
            ?>
	 <td height="22"  align="center"  style="text-align:center;">
		<?php 
            echo link_to_function(image_tag('super/view_blog.png', array('title' => __('Modify Reminder Service'))), 'document.frmList.action = "' . url_for($oAppCommon->ssModuleName . "/addEdit") . "/" . $oAppCommon->ssBaseId . "/" . $oResult[$oAppCommon->ssBaseId] . '";document.frmList.submit();', array('title' => __('Modify Reminder Service')));
            ?>