PageList.php
public function changePageFromRequest($id, $request)
    {
        $this->getPage($id);
        $page = $this->createPageObject(null, null, $request);
        $this->pages[$id] = $page;
        $this->persist();
        return $page;
    }
public function changePageFromRequest($id, $request)
    {
        $this->getPage($id);
        $page = $this->createPageObject(null, null, $request);
        $this->pages[$id] = $page;
        $this->persist();
        return $page;
    }
Changes a page's attributes according to data from the request.

@param string        $id
@param RequestHelper $request
@return Page