Skip to content
Browse files

QCheckBoxList properties

  • Loading branch information...
1 parent 735c3c0 commit 314fcb66935ea736f357459753adb00c0ac4cae3 Marcos Sánchez committed with mikeho
Showing with 29 additions and 21 deletions.
  1. +29 −21 includes/qcodo/_core/qform/QCheckBoxList.class.php
View
50 includes/qcodo/_core/qform/QCheckBoxList.class.php
@@ -1,25 +1,33 @@
<?php
- // This class will render a List of HTML Checkboxes (inhereting from ListControl).
- // By definition, checkbox lists are multiple-select ListControls.
- // * "TextAlign" specifies if each ListItem's Name should be displayed to the left or to the right of the checkbox.
- // * "CellPadding" specified the HTML Table's CellPadding
- // * "CellSpacing" specified the HTML Table's CellSpacing
- // * "RepeatColumn" specifies how many columns should be rendered in the HTML Table
- // * "RepeatDirection" specifies which direction should the list go first...
-
- // So assuming you have a list of 10 items, and you have RepeatColumn set to 3:
- // RepeatDirection::Horizontal would render as:
- // 1 2 3
- // 4 5 6
- // 7 8 9
- // 10
- //
- // RepeatDirection::Vertical would render as:
- // 1 5 8
- // 2 6 9
- // 3 7 10
- // 4
-
+ /**
+ * This class will render a List of HTML Checkboxes (inhereting from
+ * ListControl). By definition, checkbox lists are multiple-select
+ * ListControls.
+ *
+ * @property string $TextAlign specifies if each ListItem's Name should be
+ * displayed to the left or to the right of the checkbox.
+ * @property integer $CellPadding specified the HTML Table's CellPadding
+ * @property integer $CellSpacing specified the HTML Table's CellSpacing
+ * @property integer $RepeatColumn specifies how many columns should be
+ * rendered in the HTML Table
+ * @property string $RepeatDirection specifies which direction should the
+ * list go first...
+ *
+ * So assuming you have a list of 10 items, and you have RepeatColumn set
+ * to 3:
+ *
+ * RepeatDirection::Horizontal would render as:
+ * 1 2 3
+ * 4 5 6
+ * 7 8 9
+ * 10
+ *
+ * RepeatDirection::Vertical would render as:
+ * 1 5 8
+ * 2 6 9
+ * 3 7 10
+ * 4
+ */
class QCheckBoxList extends QListControl {
///////////////////////////
// Private Member Variables

0 comments on commit 314fcb6

Please sign in to comment.
Something went wrong with that request. Please try again.