public function acquireItem($key, $index = false)
    {
        $retval = false;
        
        if ($index === false && CNabuEngine::getEngine()->isMainDBAvailable()) {
            $item = new CNabuSiteTargetSection($key);
            if ($item->isFetched()) {
                $retval = $item;
            }
        }
        
        return $retval;
    }
public function acquireItem($key, $index = false)
    {
        $retval = false;
        
        if ($index === false && CNabuEngine::getEngine()->isMainDBAvailable()) {
            $item = new CNabuSiteTargetSection($key);
            if ($item->isFetched()) {
                $retval = $item;
            }
        }
        
        return $retval;
    }
public function acquireItem ( $ key , $ index = false ) { $ retval = false ; if ( $ index === false && CNabuEngine :: getEngine ( ) -> isMainDBAvailable ( ) ) { $ item = new CNabuSiteTargetSection ( $ key ) ; if ( $ item -> isFetched ( ) ) { $ retval = $ item ; } } return $ retval ; }
Acquires an instance of class CNabuSiteTargetSection from the database.
@param string $key Id or reference field in the instance to acquire.
@param string $index Secondary index to be used if needed.
@return mixed Returns the unserialized instance if exists or false if not.
Acquires an instance of class CNabuSiteTargetSection from the database .