public function getStaticContent($nb_site_static_content)
    {
        $nb_site_static_content_id = nb_getMixedValue($nb_site_static_content, 'nb_site_static_content_id');

        return (is_numeric($nb_site_static_content_id) || nb_isValidGUID($nb_site_static_content_id))
               ? $this->nb_site_static_content_list->getItem($nb_site_static_content_id)
               : null
       ;
    }
public function getStaticContent($nb_site_static_content)
    {
        $nb_site_static_content_id = nb_getMixedValue($nb_site_static_content, 'nb_site_static_content_id');

        return (is_numeric($nb_site_static_content_id) || nb_isValidGUID($nb_site_static_content_id))
               ? $this->nb_site_static_content_list->getItem($nb_site_static_content_id)
               : null
       ;
    }
public function getStaticContent ( $ nb_site_static_content ) { $ nb_site_static_content_id = nb_getMixedValue ( $ nb_site_static_content , 'nb_site_static_content_id' ) ; return ( is_numeric ( $ nb_site_static_content_id ) || nb_isValidGUID ( $ nb_site_static_content_id ) ) ? $ this -> nb_site_static_content_list -> getItem ( $ nb_site_static_content_id ) : null ; }
Gets a Static Content item from the list of static contents loaded in the Site.
@param mixed $nb_site_static_content An instance that contains a field named 'nb_site_static_content_id'
or an Id.
@return CNabuSiteStaticContent Returns the requested static content if exists or null if not.
Gets a Static Content item from the list of static contents loaded in the Site .