[TYPO3-core] RFC #2049: Feature: Use Ellipse in Gifbuilder

Kjeld Schumacher ks at not-only-pixel.de
Fri Jun 25 19:47:38 CEST 2010


Hi,
On 06/25/2010 06:35 PM, Oliver Klee wrote:
> Hi,
>
> some remarks:
>
> - Please add the "public" keyword.
>
>    
added
> - Is it really necessary to pass $im by reference?
>
>    
hm I don't know...
> - Please don't use abbreviations: $cords ->  $coordinates, $cols ->
> $colors (I guess), $im ->  ?, $conf ->  $configuration
>
>    
> - I think ImageColorAllocate is cased "imagecolorallocate" in the PHP
> manual.
>    
right..
> - Please use type hinting for the array parameters.
>
>    
done
> - Please document the expected format of the work area coordinates (in a
> way that a programmer knows how to call the function by reading the
> function documentation).
>
>    
i provided a sample typoscript and explained $workArea and $conf
> - You're assigning $cords two times. I guess you're using two different
> sets of coordinates. Two separate variables with meaningful names would
> be helpful here.
>
>    
hope I found matching names...
> Oli
>    
Hi,
hope everything is ok now... :-)

Have a nice weekend...

Bye Kjeld
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2049v3_onlyMakeEllipseFunction.diff
Type: text/x-diff
Size: 1891 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100625/0429f016/attachment.diff>


More information about the TYPO3-team-core mailing list