» Details |
---|
|
» Comment |
* Use class constants instead of globals: * SERVICES_YOUTUBE_VIDEO_PER_PAGE_MAX becomes Services_YouTube::VIDEO_PER_PAGE_MAX, etc. * private and protected methods and constants should be prefixed with an underscore (per PEAR CS) * spelling change: developer, not developper * Remove end punctuation from exception messages (periods, etc.) (provides better readability) * Remove string 'Exception :' in exceptions; we already know they're exceptions * Services_YouTube_Exception should be in 'Services/YouTube/Exception.php' |