Newscoop\Entity\User::getEditView PHP Method

getEditView() public method

Get edit view
public getEditView ( Zend_View_Abstract $view ) : object
$view Zend_View_Abstract
return object
    public function getEditView(Zend_View_Abstract $view)
    {
        return (object) array('id' => $this->id, 'username' => $this->username ?: sprintf('<%s>', preg_replace('/@.*$/', '', $this->email)), 'email' => $this->email, 'status' => $this->status, 'created' => $this->created->format('d.m.Y H:i'), 'updated' => $this->updated->format('d.m.Y H:i'), 'is_verified' => (bool) $this->getAttribute(UserAttribute::IS_VERIFIED), 'http_user_agent' => $this->getAttribute(UserAttribute::HTTP_USER_AGENT), 'links' => array(array('rel' => 'edit', 'href' => $this->getViewUrl('edit', $view)), array('rel' => 'delete', 'href' => $this->getViewUrl('delete', $view)), array('rel' => 'token', 'href' => $this->getViewUrl('send-confirm-email', $view))));
    }