/** * Sanitizes and stores handler arguments. * * @param array $params associative array of script arguments supplied to run() on handler execution * @param array $files unused */ protected final function init(array $params = array(), array $files = array()) { $params = array_map('strip_tags', $params); $params = array_map('addslashes', $params); parent::setParams($params); ob_start(); }
/** * Stores uploaded files information as handler arguments. * * @param array $params unused * @param array $files associative array with info about files uploaded with request supplied to run() on handler execution */ protected final function init(array $params = array(), array $files = array()) { parent::setParams($files); }