Following Coding Standards: PHP Closing Tag

As shown in:
http://ellislab.com/codeigniter%20/user-guide/general/styleguide.html
Following Coding standards: Logical Operators

As shown in:
http://ellislab.com/codeigniter%20/user-guide/general/styleguide.html
Following Coding standards: Comparing Return Values and Typecasting

As shown in:
http://ellislab.com/codeigniter%20/user-guide/general/styleguide.html