public function appendRow($contents = [], $checkName = null, $checked = false, $checkValue = '')
    {
        // Insert row contents
        $gridRow = $this->appendSimpleRow($contents, '');

        // Insert row checks
        if ($this->checkable) {
            return $this->appendCheckRow($gridRow, $checkName, $checked, $checkValue);
        }

        return $this;
    }
public function appendRow($contents = [], $checkName = null, $checked = false, $checkValue = '')
    {
        // Insert row contents
        $gridRow = $this->appendSimpleRow($contents, '');

        // Insert row checks
        if ($this->checkable) {
            return $this->appendCheckRow($gridRow, $checkName, $checked, $checkValue);
        }

        return $this;
    }
public function appendRow ( $ contents = [ ] , $ checkName = null , $ checked = false , $ checkValue = '' ) { // Insert row contents $ gridRow = $ this -> appendSimpleRow ( $ contents , '' ) ; // Insert row checks if ( $ this -> checkable ) { return $ this -> appendCheckRow ( $ gridRow , $ checkName , $ checked , $ checkValue ) ; } return $ this ; }
Creates a grid row with the specified contents.
If no arguments are passed, the returned value is FALSE.
If more than three arguments are passed, those are ignored.

@param array  $contents   Array with text or DOMElements
@param string $checkName  The name of the row's checkbox (This is ignored if list is not checkable).
@param bool   $checked    If list is checkable initializes the row's checkbox in $checked state
@param string $checkValue The value of the row's checkbox (This is ignored if list is not checkable).
It is empty by default.

@return $this
@throws Exception
@throws InvalidArgumentException
@throws LogicException
Creates a grid row with the specified contents . If no arguments are passed the returned value is FALSE . If more than three arguments are passed those are ignored .