In YafaRay there is a "fake transparency" model which is enabled either when transparency is used in a shinydiffuse material or when "fake shadows" is enabled in a glass material. When fake transparency is used, shadow rays (blue) can get through fake transparent surfaces in order to sample light sources:

This model does not produce any of the
realistic effects produced by transparents surfaces with IOR, yet it can deliver uniform or mapped color filtering:

Color filtering is the tinting of light that goes through a coloured transparent surface and it is done by multiplying the transparency factor for the value component of the HSV coordinates of the transparent surface color. It means that a white color on the material can be made fully transparent if Transparency=1 (1x1=1) while a black color can't be made any transparent even if Transparency=1 (1x0=0). This means that in order to produce alpha mapping for cutouts, we need to produce two textures in the following way:
Notice how the part meant to be transparent is white on both the base texture and the transparency mask. Remember as well that you have to enable transparent shadows with enought transparent shadows depth in the render section for fake transparency to work. You can achieve this effect as well by using a Blend material. Example file attached