public function getAssembliesByTemplate(core_kernel_classes_Resource $deliveryTemplate, $activeOnly = false) {
        $searchArray = $activeOnly
        ? array(
            PROPERTY_COMPILEDDELIVERY_DELIVERY => $deliveryTemplate
        )
        : array(
            PROPERTY_COMPILEDDELIVERY_DELIVERY => $deliveryTemplate,
        );
        return $this->getRootClass()->searchInstances($searchArray, array('like' => 'false', 'recursive' => true));
    }
public function getAssembliesByTemplate(core_kernel_classes_Resource $deliveryTemplate, $activeOnly = false) {
        $searchArray = $activeOnly
        ? array(
            PROPERTY_COMPILEDDELIVERY_DELIVERY => $deliveryTemplate
        )
        : array(
            PROPERTY_COMPILEDDELIVERY_DELIVERY => $deliveryTemplate,
        );
        return $this->getRootClass()->searchInstances($searchArray, array('like' => 'false', 'recursive' => true));
    }
public function getAssembliesByTemplate ( core_kernel_classes_Resource $ deliveryTemplate , $ activeOnly = false ) { $ searchArray = $ activeOnly ? array ( PROPERTY_COMPILEDDELIVERY_DELIVERY => $ deliveryTemplate ) : array ( PROPERTY_COMPILEDDELIVERY_DELIVERY => $ deliveryTemplate , ) ; return $ this -> getRootClass ( ) -> searchInstances ( $ searchArray , array ( 'like' => 'false' , 'recursive' => true ) ) ; }
Returns the assemblies derived from the delivery template

@param core_kernel_classes_Resource $deliveryTemplate
@param boolean $activeOnly
@return array
Returns the assemblies derived from the delivery template