public function getProctorableDeliveries(User $proctor, $context = null)
    {
        return DeliveryAssemblyService::singleton()->getRootClass()->searchInstances(
            array(self::ACCESSIBLE_PROCTOR => self::ACCESSIBLE_PROCTOR_ENABLED), array('recursive' => true)
        );
    }
public function getProctorableDeliveries(User $proctor, $context = null)
    {
        return DeliveryAssemblyService::singleton()->getRootClass()->searchInstances(
            array(self::ACCESSIBLE_PROCTOR => self::ACCESSIBLE_PROCTOR_ENABLED), array('recursive' => true)
        );
    }
public function getProctorableDeliveries ( User $ proctor , $ context = null ) { return DeliveryAssemblyService :: singleton ( ) -> getRootClass ( ) -> searchInstances ( array ( self :: ACCESSIBLE_PROCTOR => self :: ACCESSIBLE_PROCTOR_ENABLED ) , array ( 'recursive' => true ) ) ; }
Gets all deliveries available for a proctor
@param User $proctor
@return array
Gets all deliveries available for a proctor