We consider the quadratic nonlinear radiation of a plane sheet of oscillating dipoles within a 1D truncated periodic structure. It is shown that in such a microcavity-like structure, not only the amplitude field distribution, but also the phase difference between the dipole oscillation and the field plays a determining role in the process of energy transfer that defines the radiative properties of the dipoles within such a structure. This energy transfer mechanism is found to be very different from the one in free space and strongly dependent on the position of the dipoles within the structure, as well as on their orientation with respect to the same structure. We have also seen that one can distinguish two types of radiation inhibition: one where there is no transfer of energy to either of the counterpropagating components of the field, and another one where one of the components loses the energy that is transferred to the other counterpropagating component.