src/Easy/Element/ColumnBool.php
public function render()
    {
        $val=$this->getText()?$this->getText():$this->getValue();
        $style = $this->getStyle();
        $text = $this->getText();
        $id = $this->objectName;
        $func = $this->getFunction();        
        
        if($val==='1' || $val==='true' || strtoupper($val) == 'Y' || $val>0 || $val==$this->trueValue)
        {
        	$image_url  = $this->trueImg;            
        }
        else
        {
        	$image_url  = $this->falseImg;            
        }
        if(preg_match("/\{.*\}/si",$image_url))
        {
        	$formobj = $this->getFormObj();
        	$image_url =  Expression::evaluateExpression($image_url, $formobj);
        }else{
        	$image_url = Openbizx::$app->getImageUrl()."/".$image_url;
        }
        
    	if ($this->link)
        {
            $link = $this->getLink();
            $target = $this->getTarget();
            $sHTML = "<a  id=\"$id\" href=\"$link\" $target $func $style><img src='$image_url' /></a>";
        }else{
        	$sHTML = "<img id=\"$id\"  alt=\"".$text."\" title=\"".$text."\"  src='$image_url' />";
        }
        return $sHTML;
    }
public function render()
    {
        $val=$this->getText()?$this->getText():$this->getValue();
        $style = $this->getStyle();
        $text = $this->getText();
        $id = $this->objectName;
        $func = $this->getFunction();        
        
        if($val==='1' || $val==='true' || strtoupper($val) == 'Y' || $val>0 || $val==$this->trueValue)
        {
        	$image_url  = $this->trueImg;            
        }
        else
        {
        	$image_url  = $this->falseImg;            
        }
        if(preg_match("/\{.*\}/si",$image_url))
        {
        	$formobj = $this->getFormObj();
        	$image_url =  Expression::evaluateExpression($image_url, $formobj);
        }else{
        	$image_url = Openbizx::$app->getImageUrl()."/".$image_url;
        }
        
    	if ($this->link)
        {
            $link = $this->getLink();
            $target = $this->getTarget();
            $sHTML = "<a  id=\"$id\" href=\"$link\" $target $func $style><img src='$image_url' /></a>";
        }else{
        	$sHTML = "<img id=\"$id\"  alt=\"".$text."\" title=\"".$text."\"  src='$image_url' />";
        }
        return $sHTML;
    }
Render element, according to the mode

@return string HTML text