public function getByField($fieldName)
    {
        /* @var $elem Element */
        $elems = $this->varValue;
        foreach ($elems as $elem) {
            if ($elem->fieldName == $fieldName && $elem->className != 'RowCheckbox') {
                return $elem;
            }
        }
    }
public function getByField($fieldName)
    {
        /* @var $elem Element */
        $elems = $this->varValue;
        foreach ($elems as $elem) {
            if ($elem->fieldName == $fieldName && $elem->className != 'RowCheckbox') {
                return $elem;
            }
        }
    }
public function getByField ( $ fieldName ) { /* @var $elem Element */ $ elems = $ this -> varValue ; foreach ( $ elems as $ elem ) { if ( $ elem -> fieldName == $ fieldName && $ elem -> className != 'RowCheckbox' ) { return $ elem ; } } }
Get element by field,

@param <type> $fieldName
@todo change name to getElementByField() or Add new wrapping method
@return Element
Get element by field