Plugins

# Class: SearchUtils Source Location: /plugins/search/common/Search.php
### Class Overview
Search plugin CwSerializable objects #### Author(s): #### Version: $Id: Search.php,v 1.10 2007-09-19 11:35:22 yves Exp $ #### Copyright: 2007 Camptocamp SA | ### Methods getFromConfig getValue
### Class Details [line 24] Search plugin CwSerializable objects This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #### Tags:
version: | $Id: Search.php,v 1.10 2007-09-19 11:35:22 yves Exp $
copyright: | 2007 Camptocamp SA
[ Top ] ### Class Methods ### method getFromConfig [line 50]
`ResultProvider/ResponseFormatter getFromConfig( string $type, config $config, array $defaultValues, optional $plugin)`
Gets Result provider or Response formatter frmo a config structure #### Tags:
access: | public
static: |
#### Parameters:
string | $type | 'ResultProvider' or 'ResponseFormatter'
config | $config | structure
array | $defaultValues | default values
optional | $plugin | parameter for class constructor
[ Top ] ### method getValue [line 32]
`value getValue( string $var, string $val)`
Reads a variable, returns array if multiple #### Tags:
return: | or array
access: | public
static: |
#### Parameters:
string | $var | initial variable name
string | $val | initial content
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:01 +0200 by phpDocumentor 1.3.0RC3