Skip to content
Snippets Groups Projects
Commit d2353004 authored by clement's avatar clement
Browse files

add objet

parent a6f80b61
No related branches found
No related tags found
No related merge requests found
<?php
class Objet
{
public function fromDb(Array)
{
$att = get_object_vars($this)
for ($i=0; $i < count($att); $i++) {
$this->$att[i] = Array[i];
}
}
public static function getAll()
{
// TODO return list of objects Client
return Array();
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment