/** * Returns the string representation of the form(s). * * @return string HTML for the form(s). */ public function __toString() { $result = ''; if ($this->memberForm) { $result .= $this->memberForm; } if ($this->configForm) { $result .= $this->configForm; } $result .= parent::__toString(); if ($this->profileForm) { $result .= $this->profileForm; } return $result; }
/** * Returns the string representation of the form(s). * * @return string HTML for the form(s). */ public function __toString() { $result = (string) $this->memberForm . (string) $this->configForm . parent::__toString() . (string) $this->profileForm; return $result; }