A wholly optically controlled phased array transmitter with integration of an optoelectronic oscillator and an optical time delay network based on a multi-wavelength optical source and an optical time delay network, characterized in that said transmitter comprises: a multi-wavelength optical source, a first wavelength division multiplexer, a first optical splitter, a first electro-optic modulator, a second optical splitter, a first optical amplifier, a first optical time delay network, a photoelectric detector, an electric amplifier, a DC break, a second electro-optic modulator, a second optical amplifier, a second optical time delay network, an optical combiner, a second wavelength division multiplexer, a length of optical fiber, a photoelectric detector array, a transmitting and receiving, T/R, component array, a microwave antenna array, a 1×2 optical switch, a 2×2 optical switch, a circulator, a third wavelength division multiplexer, further optical fibers of various lengths, and a Faraday rotation mirror; wherein the first optical time delay network or the second optical delay network include said 1x2 optical switch, said circulator, said third wavelength division multiplexer, said further optical fibers of various lengths, said Faraday rotation mirror and said 2x2 optical switch, wherein one output channel of the 1×2 optical switch is connected with a first port of the circulator, one input channel of the 2×2 optical switch is connected with a second port of the circulator, the other output channel of the 1×2 optical switch is connected with the other input channel of the 2×2 optical switch; wherein a third port of the circulator is connected with an input port of the third wavelength division multiplexer, a plurality of outputs of the third wavelength division multiplexer are connected with said optical fibers of different lengths to achieve different time delays, the ends of the optical fibers are connected with the Faraday rotation mirror for signal reflection: wherein along the direction of laser output of said multi-wavelength optical source are arranged successively the first wavelength division multiplexer, the first optical splitter, the first electro-optic modulator, the second optical splitter, the second electro-optic modulator, the second optical amplifier, the second optical time delay network, the optical combiner, the second wavelength division multiplexer, the length of optical fiber, the photoelectric detector array, the T/R component array, and the microwave antenna array; wherein a second output port of the second optical splitter is connected with an radio frequency input port of the first electro-optic modulator successively via the first optical amplifier, the first optical time delay network, the photoelectric detector, the electric amplifier, and the DC break to form a close loop as an optoelectronic oscillator for generating a microwave signal; wherein a second output port of the first optical splitter is connected with a second input port of the optical combiner, wherein a first input port of the optical combiner is connected with the second optical time delay network and an output of the optical combiner is connected with the second wavelength division multiplexer, and a second input port of the second electro-optic modulator is a microwave input port.