Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
SimpleSearchWidget Class Reference
Inheritance diagram for SimpleSearchWidget:
BaseJuiWidget

Public Member Functions

 run ()
 getEncryptedAutosuggestUrl ()
- Public Member Functions inherited from BaseJuiWidget
 getViewFile ($viewName)

Public Attributes

 $useAutosuggest = true
 $uniqClassName
 $landingPage = ''

Detailed Description

Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales.nosp@m.@gen.nosp@m.tics..nosp@m.com http://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.

Definition at line 11 of file SimpleSearchWidget.php.

Member Function Documentation

SimpleSearchWidget::getEncryptedAutosuggestUrl ( )

undocumented function

Returns
void
Author
Me

Definition at line 55 of file SimpleSearchWidget.php.

{
return 'url';
}
SimpleSearchWidget::run ( )

Widget run method.

Returns
void

Definition at line 36 of file SimpleSearchWidget.php.

References SearchModule\getLandingPage().

{
$lang = Yii::app()->language;
$this->uniqClassName = uniqid('simpleSearch');
/* if we did not configure landing page as widget param then take it from settings */
if ($this->landingPage == '') {
$this->landingPage = SearchModule::getLandingPage($lang);
}
$this->render('SimpleSearchWidget', array('landingPage' => $this->landingPage));
}

The documentation for this class was generated from the following file: