public function getPushedProducts()
    {
        $pushedProducts = array();
        foreach ($this as $campaign)
            if ($campaign->hasPushedProducts())
                foreach ($campaign->getPushedProducts() as $product)
                    $pushedProducts[] = $product;

        return $pushedProducts;
    }
public function getPushedProducts()
    {
        $pushedProducts = array();
        foreach ($this as $campaign)
            if ($campaign->hasPushedProducts())
                foreach ($campaign->getPushedProducts() as $product)
                    $pushedProducts[] = $product;

        return $pushedProducts;
    }
public function getPushedProducts ( ) { $ pushedProducts = array ( ) ; foreach ( $ this as $ campaign ) if ( $ campaign -> hasPushedProducts ( ) ) foreach ( $ campaign -> getPushedProducts ( ) as $ product ) $ pushedProducts [ ] = $ product ; return $ pushedProducts ; }
Returns an array with the pushed products from all campaigns. Note that
if a product shows up in multiple campaigns, it will be duplicated in the
result of this function.

@see Campaign::getPushedProducts()
@return Record[]
Returns an array with the pushed products from all campaigns . Note that if a product shows up in multiple campaigns it will be duplicated in the result of this function .