public function fromEntities(Language $language = null, Page $page = null)
    {
        $this->language = $language;
        $this->page = $page;
        if (null !== $this->language && null !== $this->page) {
            $options = array(
                "languageId" => $this->language->getId(),
                "pageId" => $this->page->getId(),
            );
            $this->seo = $this->setupSeo($options);
        }
    }
public function fromEntities(Language $language = null, Page $page = null)
    {
        $this->language = $language;
        $this->page = $page;
        if (null !== $this->language && null !== $this->page) {
            $options = array(
                "languageId" => $this->language->getId(),
                "pageId" => $this->page->getId(),
            );
            $this->seo = $this->setupSeo($options);
        }
    }
public function fromEntities ( Language $ language = null , Page $ page = null ) { $ this -> language = $ language ; $ this -> page = $ page ; if ( null !== $ this -> language && null !== $ this -> page ) { $ options = array ( "languageId" => $ this -> language -> getId ( ) , "pageId" => $ this -> page -> getId ( ) , ) ; $ this -> seo = $ this -> setupSeo ( $ options ) ; } }
Initializes the DataManager object from the database entities

@param Language $language
@param Page     $page
Initializes the DataManager object from the database entities