public function getCTAByKey($key, $force = false)
    {
        $this->getCTAs($force);

        return $this->nb_site_target_cta_list->getItem($key, CNabuSiteTargetCTAList::INDEX_KEY);
    }
public function getCTAByKey($key, $force = false)
    {
        $this->getCTAs($force);

        return $this->nb_site_target_cta_list->getItem($key, CNabuSiteTargetCTAList::INDEX_KEY);
    }
public function getCTAByKey ( $ key , $ force = false ) { $ this -> getCTAs ( $ force ) ; return $ this -> nb_site_target_cta_list -> getItem ( $ key , CNabuSiteTargetCTAList :: INDEX_KEY ) ; }
Gets a CTA from the list of CTAs using their key.
@param string $key Key of CTA to looking for.
@param bool $force If true, forces to reload CTA from database storage.
@return CNabuSiteTargetCTA Returns the requested target if exists or null if not.
Gets a CTA from the list of CTAs using their key .