protected function initializeBindings()
    {
        if (!$this->getMetaDataBinding()) {
            $siteClass = get_class($this->site);
            if ($binding = $siteClass::getPost()) {
                $this->setMetaDataBinding($binding);
            }

        }
        $this->bindRegistryItems();
    }
protected function initializeBindings()
    {
        if (!$this->getMetaDataBinding()) {
            $siteClass = get_class($this->site);
            if ($binding = $siteClass::getPost()) {
                $this->setMetaDataBinding($binding);
            }

        }
        $this->bindRegistryItems();
    }
protected function initializeBindings ( ) { if ( ! $ this -> getMetaDataBinding ( ) ) { $ siteClass = get_class ( $ this -> site ) ; if ( $ binding = $ siteClass :: getPost ( ) ) { $ this -> setMetaDataBinding ( $ binding ) ; } } $ this -> bindRegistryItems ( ) ; }
If the delegated MetaDataBinding hasn't been set yet,
assume the current post, as a PostType object.
Use to bind Registery items.
If the delegated MetaDataBinding hasn t been set yet assume the current post as a PostType object . Use to bind Registery items .