public function __construct($id) { parent::__construct($id, "oobject/odcontained/odinput/odinput.config.phtml"); $this->setDisplay(); $width = $this->getWidthBT(); if (!is_array($width) || empty($width)) { $this->setWidthBT(12); } }
public function __construct($id) { $parent = parent::__construct($id, "oobject/odcontained/odtextarea/odtextarea.config.phtml"); $this->properties = $parent->properties; $this->setDisplay(); $width = $this->getWidthBT(); if (!is_array($width) || empty($width)) { $this->setWidthBT(12); } }
public function setForm($form) { parent::setForm($form); $properties = $this->getProperties(); $callback = isset($properties['event']['click']) ? $properties['event']['click'] : ""; switch (true) { case empty($callback): $properties['type'] = self::BTNTYPE_RESET; break; case !empty($callback): $properties['type'] = self::BTNTYPE_SUBMIT; break; } $this->setProperties($properties); return $this; }
public function __construct($id) { parent::__construct($id, "oobject/odcontained/odmessage/odmessage.config.phtml"); $this->setDisplay(); }
public function __construct($id) { $parent = parent::__construct($id, "oobject/odcontained/odbadge/odbadge.config.phtml"); $this->properties = $parent->properties; $this->setDisplay(); }