final private function populate($dbRow) {
		
		$this->beforePopulate($dbRow);
		
		$class = get_called_class();
		$varFields = $class::getBinds();
		
		foreach ($varFields as $objProperty => $dbField) {

			// cast it and assign
			$this->__set($objProperty, $dbRow->$dbField);
			
		}
		
		$this->afterPopulate(); 
		
	}
final private function populate($dbRow) {
		
		$this->beforePopulate($dbRow);
		
		$class = get_called_class();
		$varFields = $class::getBinds();
		
		foreach ($varFields as $objProperty => $dbField) {

			// cast it and assign
			$this->__set($objProperty, $dbRow->$dbField);
			
		}
		
		$this->afterPopulate(); 
		
	}
final private function populate ( $ dbRow ) { $ this -> beforePopulate ( $ dbRow ) ; $ class = get_called_class ( ) ; $ varFields = $ class :: getBinds ( ) ; foreach ( $ varFields as $ objProperty => $ dbField ) { // cast it and assign $ this -> __set ( $ objProperty , $ dbRow -> $ dbField ) ; } $ this -> afterPopulate ( ) ; }
Bind the object properties with all fields coming from database translating the
field names into object properties names. DateTime, Boolean and Integer will be
properly managed.

@param	stdClass	Record object as extracted from db table.
Bind the object properties with all fields coming from database translating the field names into object properties names . DateTime Boolean and Integer will be properly managed .