XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
widgetController Class Reference

Controller class for widget modules. More...

Inheritance diagram for widgetController:
widget ModuleObject BaseObject

Public Member Functions

 init ()
 Initialization. More...
 
 procWidgetGetColorsetList ()
 Selected photos - the return of the skin-color three. More...
 
 procWidgetGenerateCode ()
 Return the generated code of the widget. More...
 
 procWidgetGenerateCodeInPage ()
 Edit page request for the creation of the widget code. More...
 
 procWidgetStyleExtraImageUpload ()
 Upload widget styles. More...
 
 procWidgetInsertDocument ()
 Add content widget. More...
 
 procWidgetCopyDocument ()
 Copy the content widget. More...
 
 procWidgetDeleteDocument ()
 Deleting widgets. More...
 
 setWidgetCodeInJavascriptMode ()
 Modify the code in Javascript widget/Javascript edit mode for dragging and converted to. More...
 
 triggerWidgetCompile (&$content)
 Widget code compiles and prints the information to trigger display:: before invoked in. More...
 
 transWidgetCode ($content, $javascript_mode=false, $isReplaceLangCode=true)
 
 transWidget ($matches)
 Widget code with the actual code changes. More...
 
 transWidgetBox ($matches)
 Widget box with the actual code changes. More...
 
 recompileWidget ($content)
 Re-create specific content within a widget Widget on the page and create cache file in the module using. More...
 
 getCache ($widget, $args, $lang_type=null, $ignore_cache=false)
 Widget cache handling. More...
 
 execute ($widget, $args, $javascript_mode=false, $escaped=true)
 Widget name and argument and produce a result and Return the results Tags used in templateHandler $this-> execute() will be replaced by the code running. More...
 
 getWidgetObject ($widget)
 Return widget object. More...
 
 compileWidgetStyle ($widgetStyle, $widget, $widget_content_body, $args, $javascript_mode)
 
 arrangeWidgetVars ($widget, $request_vars, &$vars)
 request parameters and variables sort through the information widget More...
 
- Public Member Functions inherited from widget
 moduleInstall ()
 Implement if additional tasks are necessary when installing. More...
 
 checkUpdate ()
 a method to check if successfully installed More...
 
 moduleUpdate ()
 Execute update. More...
 
 recompileCache ()
 Re-generate the cache file. More...
 
- Public Member Functions inherited from ModuleObject
 setModule ($module)
 
 setModulePath ($path)
 
 setRedirectUrl ($url= './', $output=NULL)
 
 getRedirectUrl ()
 
 setMessage ($message= 'success', $type=NULL)
 
 setMessageType ($type)
 
 getMessageType ()
 
 setRefreshPage ()
 
 setAct ($act)
 
 setModuleInfo ($module_info, $xml_info)
 
 stop ($msg_code)
 
 setTemplateFile ($filename)
 
 getTemplateFile ()
 
 setTemplatePath ($path)
 
 getTemplatePath ()
 
 setEditedLayoutFile ($filename)
 
 getEditedLayoutFile ()
 
 setLayoutFile ($filename)
 
 getLayoutFile ()
 
 setLayoutPath ($path)
 
 getLayoutPath ($layout_name="", $layout_type="P")
 
 proc ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Public Attributes

 $javascript_mode = false
 
 $layout_javascript_mode = false
 
 $cache_path = './files/cache/widget_cache/'
 
- Public Attributes inherited from ModuleObject
 $mid = NULL
 string to represent run-time instance of Module (XE Module) More...
 
 $module = NULL
 Class name of Xe Module that is identified by mid. More...
 
 $module_srl = NULL
 integer value to represent a run-time instance of Module (XE Module) More...
 
 $module_info = NULL
 an object containing the module information More...
 
 $origin_module_info = NULL
 
 $xml_info = NULL
 an object containing the module description extracted from XML file More...
 
 $module_path = NULL
 a path to directory where module source code resides More...
 
 $act = NULL
 a string value to contain the action name More...
 
 $template_path = NULL
 a path of directory where template files reside More...
 
 $template_file = NULL
 name of template file More...
 
 $layout_path = ''
 a path of directory where layout files reside More...
 
 $layout_file = ''
 name of layout file More...
 
 $edited_layout_file = ''
 name of temporary layout files that is modified in an admin mode More...
 
 $stop_proc = FALSE
 a flag to indicating whether to stop the execution of code. More...
 
 $module_config = NULL
 
 $ajaxRequestMethod = array('XMLRPC', 'JSON')
 
 $gzhandler_enable = TRUE
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 

Detailed Description

Controller class for widget modules.

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com)

Definition at line 8 of file widget.controller.php.

Member Function Documentation

widgetController::arrangeWidgetVars (   $widget,
  $request_vars,
$vars 
)

request parameters and variables sort through the information widget

Definition at line 741 of file widget.controller.php.

widgetController::compileWidgetStyle (   $widgetStyle,
  $widget,
  $widget_content_body,
  $args,
  $javascript_mode 
)

Definition at line 700 of file widget.controller.php.

widgetController::execute (   $widget,
  $args,
  $javascript_mode = false,
  $escaped = true 
)

Widget name and argument and produce a result and Return the results Tags used in templateHandler $this-> execute() will be replaced by the code running.

$Javascript_mode is true when editing your page by the code for handling Includes photos

Widgets widgetContent/widgetBox Wanted If you are not content

Wanted specified by the administrator of the widget style

Wanted widget output

Definition at line 443 of file widget.controller.php.

widgetController::getCache (   $widget,
  $args,
  $lang_type = null,
  $ignore_cache = false 
)

Widget cache handling.

Even if the cache number and value of the cache and return it to extract data

Cache number and cache values are set so that the cache file should call

Definition at line 356 of file widget.controller.php.

widgetController::getWidgetObject (   $widget)

Return widget object.

Definition at line 664 of file widget.controller.php.

widgetController::init ( )

Initialization.

Definition at line 21 of file widget.controller.php.

widgetController::procWidgetCopyDocument ( )

Copy the content widget.

Definition at line 162 of file widget.controller.php.

widgetController::procWidgetDeleteDocument ( )

Deleting widgets.

Definition at line 204 of file widget.controller.php.

widgetController::procWidgetGenerateCode ( )

Return the generated code of the widget.

Definition at line 50 of file widget.controller.php.

widgetController::procWidgetGenerateCodeInPage ( )

Edit page request for the creation of the widget code.

Definition at line 66 of file widget.controller.php.

widgetController::procWidgetGetColorsetList ( )

Selected photos - the return of the skin-color three.

Definition at line 28 of file widget.controller.php.

widgetController::procWidgetInsertDocument ( )

Add content widget.

Definition at line 99 of file widget.controller.php.

widgetController::procWidgetStyleExtraImageUpload ( )

Upload widget styles.

Definition at line 86 of file widget.controller.php.

widgetController::recompileWidget (   $content)

Re-create specific content within a widget Widget on the page and create cache file in the module using.

Definition at line 316 of file widget.controller.php.

widgetController::setWidgetCodeInJavascriptMode ( )

Modify the code in Javascript widget/Javascript edit mode for dragging and converted to.

Definition at line 240 of file widget.controller.php.

widgetController::transWidget (   $matches)

Widget code with the actual code changes.

Definition at line 277 of file widget.controller.php.

widgetController::transWidgetBox (   $matches)

Widget box with the actual code changes.

Definition at line 297 of file widget.controller.php.

widgetController::transWidgetCode (   $content,
  $javascript_mode = false,
  $isReplaceLangCode = true 
)

By converting the specific content of the widget tag return

Definition at line 259 of file widget.controller.php.

widgetController::triggerWidgetCompile ( $content)

Widget code compiles and prints the information to trigger display:: before invoked in.

Definition at line 249 of file widget.controller.php.

Member Data Documentation

widgetController::$cache_path = './files/cache/widget_cache/'

Definition at line 16 of file widget.controller.php.

widgetController::$javascript_mode = false

Definition at line 12 of file widget.controller.php.

widgetController::$layout_javascript_mode = false

Definition at line 13 of file widget.controller.php.


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