CMS
Version 3.9
manifest.inc
Go to the documentation of this file.
1
<?php
8
/**************************************************************
9
10
Copyright (c) 2011 Sonjara, Inc
11
12
Permission is hereby granted, free of charge, to any person
13
obtaining a copy of this software and associated documentation
14
files (the "Software"), to deal in the Software without
15
restriction, including without limitation the rights to use,
16
copy, modify, merge, publish, distribute, sublicense, and/or sell
17
copies of the Software, and to permit persons to whom the
18
Software is furnished to do so, subject to the following
19
conditions:
20
21
The above copyright notice and this permission notice shall be
22
included in all copies or substantial portions of the Software.
23
24
Except as contained in this notice, the name(s) of the above
25
copyright holders shall not be used in advertising or otherwise
26
to promote the sale, use or other dealings in this Software
27
without prior written authorization.
28
29
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
30
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
31
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
32
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
33
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
34
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
35
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
36
OTHER DEALINGS IN THE SOFTWARE.
37
38
*****************************************************************/
39
40
class
SearchManifest
41
{
42
static
function
getComponentDefinition
()
43
{
44
$component
=
new
Component
();
45
$component
->name =
"search"
;
46
$component
->description =
"Unified search management for Fakoli/CMS"
;
47
$component
->author =
"Andy Green"
;
48
$component
->version =
"1.0"
;
49
$component
->priority = 10;
50
$component
->enabled =
true
;
51
52
return
$component
;
53
}
54
55
static
function
subscribeToEvents
()
56
{
57
return
array(
58
"ComponentScanComplete"
=> array(
SearchManager
, setDefaults),
59
"upgradeComponent"
=> array(
SearchManager
, upgradeComponent)
60
);
61
}
62
63
static
function
getStyles
()
64
{
65
return
array(
"/components/search/css/search.css"
);
66
}
67
}
68
?>
$component
$component
Definition:
help.inc:38
Component
Definition:
component.inc:42
SearchManager
The SearchManager class provides a simple API for searching across all Searchable records in the appl...
Definition:
search_manager.inc:48
SearchManifest
Definition:
manifest.inc:41
SearchManifest\subscribeToEvents
static subscribeToEvents()
Definition:
manifest.inc:55
SearchManifest\getStyles
static getStyles()
Definition:
manifest.inc:63
SearchManifest\getComponentDefinition
static getComponentDefinition()
Definition:
manifest.inc:42
code
cms.sonjara.com
cms
components
search
manifest.inc
Generated on Tue Mar 23 2021 15:36:11 for CMS by
1.9.1