widgets/InterChange.php
public function renderImage()
    {
        $rules = array();
        foreach ($this->rules as $rule) {
            $rules[] = '[' . implode(", ", $rule) . ']';
        }
        $this->htmlOptions['data-interchange'] = implode(", ", $rules);
        return \CHtml::tag('img', $this->htmlOptions);
    }
public function renderImage()
    {
        $rules = array();
        foreach ($this->rules as $rule) {
            $rules[] = '[' . implode(", ", $rule) . ']';
        }
        $this->htmlOptions['data-interchange'] = implode(", ", $rules);
        return \CHtml::tag('img', $this->htmlOptions);
    }
public function renderImage ( ) { $ rules = array ( ) ; foreach ( $ this -> rules as $ rule ) { $ rules [ ] = '[' . implode ( ", " , $ rule ) . ']' ; } $ this -> htmlOptions [ 'data-interchange' ] = implode ( ", " , $ rules ) ; return \ CHtml :: tag ( 'img' , $ this -> htmlOptions ) ; }
Renders the interchange image
@return string the resulting img tag
Renders the interchange image