/** * Constructs the object * * @access public * @param string $label * @param boolean $isMandatory * @param mixed $value * @param integer $minValue * @param integer $maxValue * @param string $helpText * @param array $classes * @param string $placeholder * @param integer $tabIndex */ public function __construct($key, $label, $isMandatory = false, $value = '', $minValue = null, $maxValue = null, $helpText = '', $classes = array(), $placeholder = '', $tabIndex = null) { $this->minValue = $minValue; $this->maxValue = $maxValue; parent::__construct($key, $label, $isMandatory, $value, $helpText, $classes, $placeholder, $tabIndex); }
/** * Constructs the object * * @access public * @param string $label * @param \Zepi\Web\UserInterface\Manager\ManagerInterface $entityManager * @param boolean $isMandatory * @param array $value * @param string $helpText * @param array $classes * @param string $placeholder * @param integer $tabIndex */ public function __construct($key, $label, ManagerInterface $entityManager, $isMandatory = false, $value = array(), $helpText = '', $classes = array(), $placeholder = '', $tabIndex = null) { $this->entityManager = $entityManager; parent::__construct($key, $label, $isMandatory, $value, $helpText, $classes, $placeholder, $tabIndex); }
/** * Constructs the object * * @access public * @param string $label * @param boolean $isMandatory * @param mixed $value * @param string $currency * @param string $separatorThousands * @param string $separatorDecimal * @param string $suffix * @param string $helpText * @param array $classes * @param string $placeholder * @param string $tabIndex */ public function __construct($key, $label, $isMandatory = false, $value = '', $currency = 'USD', $separatorThousands = '.', $separatorDecimal = ',', $suffix = '', $helpText = '', $classes = array(), $placeholder = '', $tabIndex = null) { $this->currency = $currency; $this->separatorThousands = $separatorThousands; $this->separatorDecimal = $separatorDecimal; $this->suffix = $suffix; parent::__construct($key, $label, $isMandatory, $value, $helpText, $classes, $placeholder, $tabIndex); }
/** * Constructs the object * * @access public * @param string $label * @param boolean $isMandatory * @param mixed $value * @param string $type * @param string $helpText * @param array $classes * @param string $placeholder * @param integer $tabIndex * @param boolean $autocomplete */ public function __construct($key, $label, $isMandatory = false, $value = '', $type = self::TYPE_IP_ADDRESS, $helpText = '', $classes = array(), $placeholder = '', $tabIndex = null, $autocomplete = true) { parent::__construct($key, $label, $isMandatory, $value, $helpText, $classes, $placeholder, $tabIndex, $autocomplete); $this->type = $type; }
/** * Constructs the object * * @access public * @param string $label * @param boolean $isMandatory * @param array $value * @param array $items * @param string $leftTitle * @param string $rightTitle * @param string $itemTemplate * @param string $helpText * @param array $classes * @param string $placeholder * @param integer $tabIndex */ public function __construct($key, $label, $isMandatory = false, $value = array(), $items = array(), $leftTitle = 'Available', $rightTitle = 'Selected', $itemTemplate = '\\Zepi\\Web\\UserInterface\\Templates\\Form\\Snippet\\SelectorItem', $helpText = '', $classes = array(), $placeholder = '', $tabIndex = null) { $this->items = $items; $this->leftTitle = $leftTitle; $this->rightTitle = $rightTitle; $this->itemTemplate = $itemTemplate; parent::__construct($key, $label, $isMandatory, $value, $helpText, $classes, $placeholder, $tabIndex); }