We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bccf13d commit 7439b12Copy full SHA for 7439b12
api.php
@@ -561,6 +561,17 @@ public function __construct($template){
561
}
562
563
564
+ public function set($var, $value = null){
565
+ if(gettype($var) == "array"){
566
+ $keys = array_keys($this->object);
567
+ foreach($var as $num => $run){
568
+ $this->set($keys[$num+1], $run);
569
+ }
570
+ }else{
571
+ $this->object[$var] = $value;
572
573
574
+
575
public function out(){
576
return $this->object;
577
0 commit comments