xPDO

xPDO
Object-relational bridge library using database persistence and Active Record pattern.

  • Apr
  • 26
  • 2013

sanitizeObject

by W. Shawn Wilkerson

This is a quick function which returns a key=>value array of designated object fields while removing those to be kept from the presentation.

Keywords
security

A PDO implementation for PHP 4 and 5.0.x (where native PDO extensions are not available), a way to abstract business objects from the actual SQL queries and prepared statements used to access a relational database structure representing them, and a way to easily describe and provide optimized implementations of an object model for multiple target database platforms.

© 2012 - 2018 W. Shawn Wilkerson. All Rights Reserved.