src/Items.php
public function getClass()
    {
        $arrClass = array();
        if ($this->intCursor == 0) {
            $arrClass[] = 'first';
        }

        if ($this->intCursor == ($this->getCount() - 1)) {
            $arrClass[] = 'last';
        }

        if (($this->intCursor % 2) == 0) {
            $arrClass[] = 'even';
        } else {
            $arrClass[] = 'odd';
        }
        return implode(' ', $arrClass);
    }
public function getClass()
    {
        $arrClass = array();
        if ($this->intCursor == 0) {
            $arrClass[] = 'first';
        }

        if ($this->intCursor == ($this->getCount() - 1)) {
            $arrClass[] = 'last';
        }

        if (($this->intCursor % 2) == 0) {
            $arrClass[] = 'even';
        } else {
            $arrClass[] = 'odd';
        }
        return implode(' ', $arrClass);
    }
public function getClass ( ) { $ arrClass = array ( ) ; if ( $ this -> intCursor == 0 ) { $ arrClass [ ] = 'first' ; } if ( $ this -> intCursor == ( $ this -> getCount ( ) - 1 ) ) { $ arrClass [ ] = 'last' ; } if ( ( $ this -> intCursor % 2 ) == 0 ) { $ arrClass [ ] = 'even' ; } else { $ arrClass [ ] = 'odd' ; } return implode ( ' ' , $ arrClass ) ; }
{@inheritdoc}
{