[TYPO3-core] RFC: #7370: Delete unused Marker in parsehtml::substituteMarkerArray

Steffen Kamper steffen at sk-typo3.de
Mon Feb 4 17:43:07 CET 2008


This is a SVN patch request.

Branches: Trunk only

BT reference: http://bugs.typo3.org/view.php?id=7370

Type: Feature

Problem:
There is no way to substitute unused Markers yet

Solution:
now there is a new flag that can be used to delete these Markers.

This is very useful as you only need to use Markers with content, just set 
the deleteUnused-Flag to 1.
This function is called when using templates and markerArray in FE 
(tslib_content) and in new BE with static call.

vg Steffen 


begin 666 delteUnusedMarker.diff
M26YD97 at Z('0S;&EB+V-L87-S+G0S;&EB7W!A<G-E:'1M;"YP:' -"CT]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T-"BTM+2!T,VQI8B]C;&%S<RYT,VQI8E]P87)S
M96AT;6PN<&AP"2AR979I<VEO;B S,#4R*0T**RLK('0S;&EB+V-L87-S+G0S
M;&EB7W!A<G-E:'1M;"YP:' )*'=O<FMI;F<@8V]P>2D-"D! ("TR,38L-R K
M,C$V+#<@0$ -"B )"7)E='5R;B D8F5F;W)E+B1B971W965N+B1A9G1E<CL*
M( E]"B *+0D**PH@"2\J*@H@"2 J(%-U8G-T:71U=&5S(&$@;6%R:V5R('-T
M<FEN9R!I;B!T:&4@:6YP=70 at 8V]N=&5N=" H8GD at 82!S:6UP;&4@<W1R7W)E
M<&QA8V4H*2D*( D@*@I 0" M,C,X+#$T("LR,S at L,34 at 0$ -"B )("H at 0'!A
M<F%M"7-T<FEN9PD)5&AE(&-O;G1E;G0@<W1R96%M+"!T>7!I8V%L;'D at 2%1-
M3"!T96UP;&%T92!C;VYT96YT+ at H@"2 J($!P87)A;0EA<G)A>0D)5&AE(&%R
M<F%Y(&]F(&ME>2]V86QU92!P86ER<R!B96EN9R!M87)K97(O8V]N=&5N="!V
M86QU97,@=7-E9"!I;B!T:&4@<W5B<W1I='5T:6]N+B!&;W(@96%C:"!E;&5M
M96YT(&EN('1H:7, at 87)R87D@=&AE(&9U;F-T:6]N('=I;&P@<W5B<W1I='5T
M92!A(&UA<FME<B!I;B!T:&4 at 8V]N=&5N="!S=')E86T@=VET:"!T:&4 at 8V]N
M=&5N="X*( D@*B! <&%R86T)<W1R:6YG"0E!('=R87 @=F%L=64 at +2!;<&%R
M=" Q72!\(%MP87)T(#)=("T at 9F]R('1H92!M87)K97)S(&)E9F]R92!S=6)S
M=&ET=71I;VX*+0D@*B! <&%R86T)8F]O;&5A;@D)268@<V5T+"!A;&P@;6%R
M:V5R('-T<FEN9R!S=6)S=&ET=71I;VX@:7, at 9&]N92!W:71H('5P<&5R+6-A
M<V4@;6%R:V5R<RX**PD@*B! <&%R86T@("!B;V]L96%N(" @("!)9B!S970L
M(&%L;"!M87)K97(@<W1R:6YG('-U8G-T:71U=&EO;B!I<R!D;VYE('=I=&@@
M=7!P97(M8V%S92!M87)K97)S+ at HK"2 J($!P87)A;0EB;V]L96%N"0E)9B!S
M970L(&%L;"!U;G5S960@;6%R:V5R(&%R92!D96QE=&5D+ at H@"2 J($!R971U
M<FX)<W1R:6YG"0E4:&4@<')O8V5S<V5D(&]U='!U="!S=')E86T*( D@*B! 
M<V5E('-U8G-T:71U=&5-87)K97(H*2P@<W5B<W1I='5T94UA<FME<DEN3V)J
M96-T*"DL(%1%35!,051%*"D*( D@*B\*+0EP=6)L:6, at 9G5N8W1I;VX@<W5B
M<W1I='5T94UA<FME<D%R<F%Y*"1C;VYT96YT+" D;6%R:T-O;G1E;G1!<G)A
M>2P@)'=R87 ])R<L("1U<'!E<F-A<V4],"D)>PHM"0EI9B H:7-?87)R87DH
M)&UA<FM#;VYT96YT07)R87DI*0E["BL)<'5B;&EC(&9U;F-T:6]N('-U8G-T
M:71U=&5-87)K97)!<G)A>2 at D8V]N=&5N="P@)&UA<FM#;VYT96YT07)R87DL
M("1W<F%P/2<G+" D=7!P97)C87-E/3 L("1D96QE=&55;G5S960],"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!)9B!S970L(&%L
M;"!M87)K97(@<W1R:6YG('-U8G-T:71U=&EO;B!I<R!D;VYE('=I=&@@=7!P
M97(M8V%S92!M87)K97)S+ at HK"2 J($!P87)A;0EB;V]L96%N"0E)9B!S970L
M(&%L;"!U;G5S960@;6%R:V5R(&%R92!D96QE=&5D+ at H@"2 J($!R971U<FX)
M<W1R:6YG"0E4:&4@<')O8V5S<V5D(&]U='!U="!S=')E86T*( D@*B! <V5E
M('-U8G-T:71U=&5-87)K97(H*2P@<W5B<W1I='5T94UA<FME<DEN3V)J96-T
M*"DL(%1%35!,051%*"D*( D@*B\*+0EF=6YC=&EO;B!S=6)S=&ET=71E36%R
M:V5R07)R87DH)&-O;G1E;G0L)&UA<FM#;VYT96YT07)R87DL)'=R87 ])R<L
M)'5P<&5R8V%S93TP*0E["BT)"7)E='5R;B!T,VQI8E]P87)S96AT;6PZ.G-U
M8G-T:71U=&5-87)K97)!<G)A>2 at D8V]N=&5N="PD;6%R:T-O;G1E;G1!<G)A
M>2PD=W)A<"PD=7!P97)C87-E*3L**PEF=6YC=&EO;B!S=6)S=&ET=71E36%R
M:V5R07)R87DH)&-O;G1E;G0L)&UA<FM#;VYT96YT07)R87DL)'=R87 ])R<L
M)'5P<&5R8V%S93TP+" D9&5L971E56YU<V5D/3 I"7L**PD)<F5T=7)N('0S
M;&EB7W!A<G-E:'1M;#HZ<W5B<W1I='5T94UA<FME<D%R<F%Y*"1C;VYT96YT
M+"1M87)K0V]N=&5N=$%R<F%Y+"1W<F%P+"1U<'!E<F-A<V4L)&1E;&5T955N
3=7-E9"D["B )?0H@"B )+RHJ"@``
`
end



More information about the TYPO3-team-core mailing list