children = array(); $this->name = $name; $this->form_id = $form_id; $this->form_method = $form_method; $this->form_action = $form_action; $this->form_nonce_action = $form_nonce_action; $this->form_nonce_name = $form_nonce_name; $this->button_label = $button_label; $this->button_args = $button_args; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { $user_id = get_current_user_id(); $action_class = ''; //set default class for form if action is set if ($this->form_action !== '') { $action_class = 'eltdf-dashboard-form'; } ?>
render($factory); } } /* Class: CallaElatedDashboardGroup A class that initializes CallaElated Group Field */ class CallaElatedDashboardGroup implements iCallaElatedLayoutNode, iCallaElatedRender{ public $children; public $name; public $title; public $description; function __construct($name="", $title_label = "", $description = "") { $this->children = array(); $this->name = $name; $this->title = $title_label; $this->description = $description; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { ?>description); ?>
description); ?>
table_layout) { ?>