/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public function getContacts() { //We must specify our vo, because we need to map correctly require_once( "vo/ContactVO.php" ); { //Create a new contact vo $contact = new ContactVO( $cont ); //Result is a snippet $result[] = $contact; } //Print out the result return $result; }