XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
SelectMatchOption.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
namespace
Xoops\Form
;
13
25
class
SelectMatchOption
extends
Select
26
{
35
public
function
__construct
(
$caption
,
$name
,
$value
= null, $size = 1)
36
{
37
parent::__construct(
$caption
,
$name
,
$value
, $size,
false
);
38
$this->
addOption
(
XOOPS_MATCH_START
, \
XoopsLocale::STARTS_WITH
);
39
$this->
addOption
(
XOOPS_MATCH_END
, \
XoopsLocale::ENDS_WITH
);
40
$this->
addOption
(
XOOPS_MATCH_EQUAL
, \
XoopsLocale::MATCHES
);
41
$this->
addOption
(
XOOPS_MATCH_CONTAIN
, \
XoopsLocale::CONTAINS
);
42
}
43
}
XoopsLocaleEn_US\CONTAINS
const CONTAINS
Definition:
en_US.php:175
XOOPS_MATCH_END
const XOOPS_MATCH_END
Definition:
defines.php:35
XoopsLocaleEn_US\STARTS_WITH
const STARTS_WITH
Definition:
en_US.php:1016
Xoops\Form
Definition:
BlockForm.php:12
XOOPS_MATCH_START
const XOOPS_MATCH_START
Definition:
defines.php:34
XOOPS_MATCH_EQUAL
const XOOPS_MATCH_EQUAL
Definition:
defines.php:36
Xoops\Form\Select\$value
$value
Definition:
Select.php:54
XOOPS_MATCH_CONTAIN
const XOOPS_MATCH_CONTAIN
Definition:
defines.php:37
Xoops\Form\SelectMatchOption
Definition:
SelectMatchOption.php:25
XoopsLocaleEn_US\MATCHES
const MATCHES
Definition:
en_US.php:826
Xoops\Form\Element\$caption
$caption
Definition:
Element.php:55
Xoops\Form\Select\addOption
addOption($value, $name= '')
Definition:
Select.php:113
$name
$name
Definition:
force_download.php:15
Xoops\Form\SelectMatchOption\__construct
__construct($caption, $name, $value=null, $size=1)
Definition:
SelectMatchOption.php:35
Xoops\Form\Select
Definition:
Select.php:26
XoopsLocaleEn_US\ENDS_WITH
const ENDS_WITH
Definition:
en_US.php:288
usr64
htdocs
xoops_lib
Xoops
Form
SelectMatchOption.php
Generated on Fri May 22 2015 03:07:05 for XOOPS by
1.8.9.1