roundcubemail/program/lib/Roundcube/html.php
public function set_row_attribs($attr = array(), $index = null)
    {
        if (is_string($attr)) {
            $attr = array('class' => $attr);
        }

        if ($index === null) {
            $index = $this->rowindex;
        }

        // make sure row object exists (#1489094)
        if (!$this->rows[$index]) {
            $this->rows[$index] = new stdClass;
        }

        $this->rows[$index]->attrib = $attr;
    }
public function set_row_attribs($attr = array(), $index = null)
    {
        if (is_string($attr)) {
            $attr = array('class' => $attr);
        }

        if ($index === null) {
            $index = $this->rowindex;
        }

        // make sure row object exists (#1489094)
        if (!$this->rows[$index]) {
            $this->rows[$index] = new stdClass;
        }

        $this->rows[$index]->attrib = $attr;
    }
public function set_row_attribs ( $ attr = array ( ) , $ index = null ) { if ( is_string ( $ attr ) ) { $ attr = array ( 'class' => $ attr ) ; } if ( $ index === null ) { $ index = $ this -> rowindex ; } // make sure row object exists (#1489094) if ( ! $ this -> rows [ $ index ] ) { $ this -> rows [ $ index ] = new stdClass ; } $ this -> rows [ $ index ] -> attrib = $ attr ; }
Set row attributes

@param array $attr  Row attributes
@param int   $index Optional row index (default current row index)
Set row attributes