Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 14... Línea 14...
14
// You should have received a copy of the GNU General Public License
14
// You should have received a copy of the GNU General Public License
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
Línea 16... Línea 16...
16
 
16
 
Línea 17... Línea 17...
17
namespace core\output;
17
namespace core\output;
18
 
-
 
19
use context;
18
 
20
use renderable;
-
 
Línea 21... Línea 19...
21
use stdClass;
19
use core\context;
22
use templatable;
20
use stdClass;
23
 
21
 
24
/**
22
/**
25
 * The filter renderable class.
23
 * The filter renderable class.
26
 *
24
 *
27
 * @package    core
25
 * @package    core
28
 * @copyright  2021 Catalyst IT Australia Pty Ltd
26
 * @copyright  2021 Catalyst IT Australia Pty Ltd
29
 * @author     Tomo Tsuyuki <tomotsuyuki@catalyst-au.net>
27
 * @author     Tomo Tsuyuki <tomotsuyuki@catalyst-au.net>
30
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
-
 
31
 */
28
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32
abstract class datafilter implements renderable, templatable {
29
 */
Línea 33... Línea 30...
33
 
30
abstract class datafilter implements renderable, templatable {
34
    /** @var int None of the following match */
31
    /** @var int None of the following match */
Línea 108... Línea 105...
108
            'allowmultiple' => $multiple,
105
            'allowmultiple' => $multiple,
109
            'filtertypeclass' => $filterclass,
106
            'filtertypeclass' => $filterclass,
110
            'values' => $values,
107
            'values' => $values,
111
            'filteroptions' => $filteroptions,
108
            'filteroptions' => $filteroptions,
112
            'required' => $required,
109
            'required' => $required,
113
            'joinlist' => json_encode($joinlist)
110
            'joinlist' => json_encode($joinlist),
114
        ];
111
        ];
115
    }
112
    }
116
}
113
}