src/Zf2Forum/Mapper/UserMapper.php
public function getSelectOptions()
    {
        $filter = new UnderscoreToCamelCase();
        $funcName = "get" . ucfirst($filter->filter($this->getUserColumn()));

        $resultSet =  $this->fetchAll(array('user_id', $this->getUserColumn()), function (Select $select) {
            $select->where->notEqualTo('user_id', $this->getCurrentUser()->getId());
        });

        $options = array();
        foreach ($resultSet as $user) {
            $options[$user->getId()] = $user->$funcName();
        }

        return $options;
    }
public function getSelectOptions()
    {
        $filter = new UnderscoreToCamelCase();
        $funcName = "get" . ucfirst($filter->filter($this->getUserColumn()));

        $resultSet =  $this->fetchAll(array('user_id', $this->getUserColumn()), function (Select $select) {
            $select->where->notEqualTo('user_id', $this->getCurrentUser()->getId());
        });

        $options = array();
        foreach ($resultSet as $user) {
            $options[$user->getId()] = $user->$funcName();
        }

        return $options;
    }
gets users list for Select form element

@return array