Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding insights #335

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion system/classes/DbPDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function innerJoin($innerJoin)
* statement can be reset by passing NULL as the first parameter
*
* @param string|array $column
* @param string $equals
* @param string|array $equals
* @return \DbPDO|null
*/
public function where($column, $equals = null)
Expand Down
2 changes: 1 addition & 1 deletion system/classes/HtmlBootstrap5.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public static function multiColForm($data, $action = null, $method = "POST", $su
* @param array $array is the array of data
* @param string $id is a css id
* @param string $class is a css class
* @param boolean $header use first row as <th> if true
* @param string[]|boolean $header use first row as <th> if true
*
*/
public static function table($data, $id = null, $class = "tablesorter", $header = null)
Expand Down
2 changes: 1 addition & 1 deletion system/classes/html/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ abstract class Element
/**
* Constructor to set fields for subclassed object
*
* @param array $fields
* @param \array $fields
*/
public function __construct($fields = [])
{
Expand Down
2 changes: 1 addition & 1 deletion system/classes/html/form/FormElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FormElement extends \Html\Element
/**
* Sets the printable label used by {@see Html::multiColForm()}
*
* @param String $label
* @param \string $label
* @return \Html\Form\FormElement
*/
public function setLabel($label)
Expand Down
64 changes: 32 additions & 32 deletions system/classes/html/form/InputField.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class InputField extends \Html\Form\FormElement
* field given above and set the field value to the corresponding array
* key value (implementation in parent).
*
* @param Array $fields
* @param \array $fields
*/
public function __construct($fields = [])
{
Expand Down Expand Up @@ -138,7 +138,7 @@ public function __toString()
* video/* representing video files HTML5
* image/* representing image files HTML5
*
* @param Mixed accept
* @param \mixed accept
* @return \Html\Form\InputField this
*/
public function setAccept($accept)
Expand All @@ -162,7 +162,7 @@ public function setAccept($accept)
* cc-type, transaction-currency, transaction-amount, language, bday,
* bday-day, bday-month, bday-year, sex, tel, url, photo
*
* @param Mixed autocomplete
* @param \mixed autocomplete
* @return \Html\Form\InputField this
*/
public function setAutocomplete($autocomplete)
Expand All @@ -181,7 +181,7 @@ public function setAutocomplete($autocomplete)
* automatically set focus to a hidden control). Note that the focusing of
* the control may occur before the firing of the DOMContentLoaded event.
*
* @param Mixed $autofocus
* @param \mixed $autofocus
* @return \Html\Form\InputField this
*/
public function setAutofocus($autofocus)
Expand All @@ -196,7 +196,7 @@ public function setAutofocus($autofocus)
* type attribute is search, previous search term values will persist in the
* dropdown across page load.
*
* @param Mixed $autosave
* @param \mixed $autosave
* @return \Html\Form\InputField this
*/
public function setAutosave($autosave)
Expand All @@ -215,7 +215,7 @@ public function setAutosave($autosave)
* checked state of an <input> across page loads. Use the autocomplete
* attribute to control this feature.
*
* @param Mixed $checked
* @param \mixed $checked
* @return \Html\Form\InputField this
*/
public function setChecked($checked)
Expand All @@ -235,7 +235,7 @@ public function setChecked($checked)
* disabled state of an <input> across page loads. Use the autocomplete
* attribute to control this feature.
*
* @param Mixed $disabled
* @param \mixed $disabled
* @return \Html\Form\InputField this
*/
public function setDisabled($disabled)
Expand All @@ -254,7 +254,7 @@ public function setDisabled($disabled)
* descendants of their form elements. An input can only be associated with
* one form.
*
* @param Mixed $form
* @param \mixed $form
* @return \Html\Form\InputField this
*/
public function setForm($form)
Expand All @@ -268,7 +268,7 @@ public function setForm($form)
* The URI of a program that processes the information submitted by the
* input element, if it is a submit button or image. If specified, it
* overrides the action attribute of the element's form owner.
* @param Mixed $formaction
* @param \mixed $formaction
* @return \Html\Form\InputField this
*/
public function setFormaction($formaction)
Expand All @@ -291,7 +291,7 @@ public function setFormaction($formaction)
* If this attribute is specified, it overrides the enctype attribute of
* the element's form owner.
*
* @param Mixed $formenctype
* @param \mixed $formenctype
* @return \Html\Form\InputField this
*/
public function setFormenctype($formenctype)
Expand All @@ -315,7 +315,7 @@ public function setFormenctype($formenctype)
* If specified, this attribute overrides the method attribute of the
* element's form owner.
*
* @param Mixed $formmethod
* @param \mixed $formmethod
* @return \Html\Form\InputField this
*/
public function setFormmethod($formmethod)
Expand All @@ -331,7 +331,7 @@ public function setFormmethod($formmethod)
* this attribute is specified, it overrides the novalidate attribute of
* the element's form owner.
*
* @param Mixed $formvalidate
* @param \mixed $formvalidate
* @return \Html\Form\InputField this
*/
public function setFormvalidate($formvalidate)
Expand Down Expand Up @@ -360,7 +360,7 @@ public function setFormvalidate($formvalidate)
* and has no parent). If there is no parent, this option behaves
* the same way as _self.
*
* @param Mixed $formtarget
* @param \mixed $formtarget
* @return \Html\Form\InputField this
*/
public function setFormtarget($formtarget)
Expand All @@ -374,7 +374,7 @@ public function setFormtarget($formtarget)
* If the value of the type attribute is image, this attribute defines the
* height of the image displayed for the button.
*
* @param Mixed $height
* @param \mixed $height
* @return \Html\Form\InputField this
*/
public function setHeight($height)
Expand All @@ -390,7 +390,7 @@ public function setHeight($height)
* url. Possible values are: verbatim, latin, latin-name, latin-prose,
* full-width-latin, kana, katakana, numberic, tel, email, url
*
* @param Mixed $inputmode
* @param \mixed $inputmode
* @return \Html\Form\InputField this
*/
public function setInputmode($inputmode)
Expand All @@ -407,7 +407,7 @@ public function setInputmode($inputmode)
* element. This attribute is ignored when the type attribute's value is
* hidden, checkbox, radio, file, or a button type.
*
* @param Mixed $list
* @param \mixed $list
* @return \Html\Form\InputField this
*/
public function setList($list)
Expand All @@ -421,7 +421,7 @@ public function setList($list)
* The maximum (numeric or date-time) value for this item, which must not be
* less than its minimum (min attribute) value.
*
* @param Mixed $max
* @param \mixed $max
* @return \Html\Form\InputField this
*/
public function setMax($max)
Expand All @@ -441,7 +441,7 @@ public function setMax($max)
* the user can enter an unlimited number of characters. The constraint is
* evaluated only when the value of the attribute has been changed.
*
* @param Mixed $maxlength
* @param \mixed $maxlength
* @return \Html\Form\InputField this
*/
public function setMaxlength($maxlength)
Expand All @@ -455,7 +455,7 @@ public function setMaxlength($maxlength)
* The minimum (numeric or date-time) value for this item, which must not be
* greater than its maximum (max attribute) value.
*
* @param Mixed $min
* @param \mixed $min
* @return \Html\Form\InputField this
*/
public function setMin($min)
Expand All @@ -471,7 +471,7 @@ public function setMin($min)
* Unicode code points) that the user can enter; for other control types, it
* is ignored.
*
* @param Mixed $minlength
* @param \mixed $minlength
* @return \Html\Form\InputField this
*/
public function setMinlength($minlength)
Expand All @@ -486,7 +486,7 @@ public function setMinlength($minlength)
* value. This attribute applies when the type attribute is set to email or
* file; otherwise it is ignored.
*
* @param Mixed $multiple
* @param \mixed $multiple
* @return \Html\Form\InputField this
*/
public function setMultiple($multiple)
Expand All @@ -499,7 +499,7 @@ public function setMultiple($multiple)
/**
* The name of the control, which is submitted with the form data.
*
* @param Mixed $name
* @param \mixed $name
* @return \Html\Form\InputField this
*/
public function setName($name)
Expand All @@ -518,7 +518,7 @@ public function setName($name)
* language is the same as JavaScript's. The pattern is not surrounded by
* forward slashes.
*
* @param Mixed $pattern
* @param \mixed $pattern
* @return \Html\Form\InputField this
*/
public function setPattern($pattern)
Expand All @@ -532,7 +532,7 @@ public function setPattern($pattern)
* A hint to the user of what can be entered in the control . The
* placeholder text must not contain carriage returns or line-feeds.
*
* @param Mixed $placeholder
* @param \mixed $placeholder
* @return \Html\Form\InputField this
*/
public function setPlaceholder($placeholder)
Expand All @@ -548,7 +548,7 @@ public function setPlaceholder($placeholder)
* range, color, checkbox, radio, file, or a button type (such as button or
* submit).
*
* @param Mixed $readonly
* @param \mixed $readonly
* @return \Html\Form\InputField this
*/
public function setReadonly($readonly)
Expand All @@ -564,7 +564,7 @@ public function setReadonly($readonly)
* image, or a button type (submit, reset, or button). The :optional and
* :required CSS pseudo-classes will be applied to the field as appropriate.
*
* @param Mixed $required
* @param \mixed $required
* @return \Html\Form\InputField this
*/
public function setRequired($required)
Expand All @@ -580,7 +580,7 @@ public function setRequired($required)
* in an RTL locale, or "backward" if the selection was made in the opposite
* direction. This can be "none" if the selection direction is unknown.
*
* @param Mixed $selectionDirection
* @param \mixed $selectionDirection
* @return \Html\Form\InputField this
*/
public function setSelectionDirection($selectionDirection)
Expand All @@ -598,7 +598,7 @@ public function setSelectionDirection($selectionDirection)
* password; otherwise it is ignored. In addition, the size must be greater
* than zero. If you don't specify a size, a default value of 20 is used.
*
* @param Mixed $size
* @param \mixed $size
* @return \Html\Form\InputField this
*/
public function setSize($size)
Expand All @@ -613,7 +613,7 @@ public function setSize($size)
* URI for the location of an image to display on the graphical submit
* button; otherwise it is ignored.
*
* @param Mixed $src
* @param \mixed $src
* @return \Html\Form\InputField this
*/
public function setSrc($src)
Expand All @@ -630,7 +630,7 @@ public function setSrc($src)
* control accepts only values at multiples of the step value greater than
* the minimum.
*
* @param Mixed $step
* @param \mixed $step
* @return \Html\Form\InputField this
*/
public function setStep($step)
Expand Down Expand Up @@ -661,7 +661,7 @@ public function setType($type)
* The initial value of the control. This attribute is optional except when
* the value of the type attribute is radio or checkbox.
*
* @param Mixed $value
* @param \mixed $value
* @return \Html\Form\InputField this
*/
public function setValue($value)
Expand All @@ -675,7 +675,7 @@ public function setValue($value)
* If the value of the type attribute is image, this attribute defines the
* width of the image displayed for the button.
*
* @param Mixed $width
* @param \mixed $width
* @return \Html\Form\InputField this
*/
public function setWidth($width)
Expand Down
Loading
Loading