Uploader
An all around general purpose file uploader for CakePHP. Packaged as a stand alone plugin with file validation, file scanning and support for a wide range of basic mime types.
Get Named Param
Used to get the value of a named param from the controller.
Function: _getNamedParam()
Category: CakePHP
Views: 1,303
Permalink -
Tinylink
/** * Used to get the value of a named param from the controller * @param mixed $var * @param mixed $default * @return mixed */ function _getNamedParam($var, $default = '') { return (isset($this->params['named'][$var])) ? $this->params['named'][$var] : $default; }