class/Form/Spin/FormSpin.php
FormSpin
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class FormSpin extends \XoopsFormElement
{
/**
* Value.
*
Method render
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function render()
{
$sSpinFolder = $this->getFolder();
$sFolderImg = "{$sSpinFolder}/images/{$this->getImgFolder()}/";
Method __construct
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$caption,
$name,
$value = 0,
$min = 0,
$max = 100,