clean up code, and add phpdoc
clean up code, and add phpdoc

git-svn-id: a243b28a2a52d65555a829a95c8c333076d39ae1@1005 44740490-163a-0410-bde0-09ae8108e29a

dzuelke/simplesamlphp,BrettMerrick/simplesamlphp,gtkrug/simplesamlphp,sitya/simplesamlphp,Kunstmaan/simplesamlphp,madmatt/simplesamlphp,Kunstmaan/simplesamlphp,grnet/simplesamlphp,jschlyter/simplesamlphp,maytechnet/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,simplesamlphp/simplesamlphp,girgen/simplesamlphp,dialogik/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,girgen/simplesamlphp,dzuelke/simplesamlphp,jschlyter/simplesamlphp,grnet/simplesamlphp,madmatt/simplesamlphp,gtkrug/simplesamlphp,simplesamlphp/simplesamlphp,dzuelke/simplesamlphp,madmatt/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp,cwaldbieser/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,grnet/simplesamlphp,dialogik/simplesamlphp,gtkrug/simplesamlphp,shoaibali/simplesamlphp,dnmvisser/simplesamlphp,madmatt/simplesamlphp,Kunstmaan/simplesamlphp,dzuelke/simplesamlphp,simplesamlphp/simplesamlphp,jschlyter/simplesamlphp,dialogik/simplesamlphp,BrettMerrick/simplesamlphp,dnmvisser/simplesamlphp,Kunstmaan/simplesamlphp,ghalse/simplesamlphp,sitya/simplesamlphp,BrettMerrick/simplesamlphp,maytechnet/simplesamlphp,dialogik/simplesamlphp,cwaldbieser/simplesamlphp,shoaibali/simplesamlphp,ghalse/simplesamlphp,sylvainmed/simplesamlphp,shoaibali/simplesamlphp,ghalse/simplesamlphp,sylvainmed/simplesamlphp,simplesamlphp/simplesamlphp,sitya/simplesamlphp,maytechnet/simplesamlphp,sylvainmed/simplesamlphp,girgen/simplesamlphp,girgen/simplesamlphp,jschlyter/simplesamlphp,shoaibali/simplesamlphp,maytechnet/simplesamlphp,girgen/simplesamlphp,cwaldbieser/simplesamlphp,cwaldbieser/simplesamlphp,dnmvisser/simplesamlphp,jschlyter/simplesamlphp,BrettMerrick/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,sylvainmed/simplesamlphp,gtkrug/simplesamlphp,grnet/simplesamlphp,sitya/simplesamlphp,dialogik/simplesamlphp