src/Zf2Forum/Model/Category/CategoryMapper.php
public function getCategoryById($id)
    {
        $select = $this->getSelect()->where(array(
            'id' => $id
        ));

        return $this->select($select)->current();
    }
public function getCategoryById($id)
    {
        $select = $this->getSelect()->where(array(
            'id' => $id
        ));

        return $this->select($select)->current();
    }
public function getCategoryById ( $ id ) { $ select = $ this -> getSelect ( ) -> where ( array ( 'id' => $ id ) ) ; return $ this -> select ( $ select ) -> current ( ) ; }
getCategoryById

@param int $id
@return CategoryInterface
getCategoryById