This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

Db_FormSection class

Defined in /phproad/modules/db/classes/db_formsection.php, lines 12-38
Inheritance Db_FormElement » Db_FormSection
Author LemonStand eCommerce Inc.
Represents a form section. Form sections have a title and description. Objects of this class are created by add_form_section() method the Db_ActiveRecord class.

Public properties

Show inherited properties.

Property Type Description Defined By
collapsable boolean determines whether the element should be placed to the collapsable form area. Db_FormElement
description string specifies the section description. Db_FormSection
html_id string specifies the id for the html element the form section will be rendered in on the form. Db_FormSection
noForm boolean hides the element from forms. Db_FormElement
noPreview boolean makes the element invisible in the form preview. Db_FormElement
sortOrder integer specifies the element position in a form. Db_FormElement
tab string specifies the form tab name. Db_FormElement
title string specifies the section title. Db_FormSection

Public methods

Show inherited methods.

Method Description Defined By
collapsable() places the element to the form or tab collapsable area. Db_FormElement
noForm() hides the element from the form. Db_FormElement
noPreview() hides the element from the form preview. Db_FormElement
sortOrder() sets the element position on the form. Db_FormElement
tab() specifies a caption of the tab to place the field to. Db_FormElement

Property details

description property

public string $description;
Specifies the section description

html_id property

public string $html_id;
Specifies the id for the html element the form section will be rendered in on the form.

title property

public string $title;
Specifies the section title