Created
March 17, 2016 02:12
-
-
Save TheOpenDevProject/19282e0188989c8fdfbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class HTMLObject{ | |
private $id; | |
private $elem_class; | |
private $type; | |
private $extra_props; | |
//Do this for each property | |
public function setId($id = null){ | |
$this->id = $id; | |
return $this; | |
} | |
} | |
class HTMLActions{ | |
public static function Render(HTMLObject $renderObj){ | |
//Do Render function stuff. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment