CMS  Version 3.9
snippet_picker.inc File Reference

Go to the source code of this file.

Variables

 $snippet_id = checkNumeric($_GET["snippet_id"])
 
 $snippets
 
 $panel = new Panel("snippet_panel", "/action/html_editor/snippet_panel?snippet_id=$snippet_id")
 

Variable Documentation

◆ $panel

$panel = new Panel("snippet_panel", "/action/html_editor/snippet_panel?snippet_id=$snippet_id")

Definition at line 10 of file snippet_picker.inc.

◆ $snippet_id

$snippet_id = checkNumeric($_GET["snippet_id"])

Definition at line 4 of file snippet_picker.inc.

◆ $snippets

$snippets
Initial value:
= Query::create(Snippet, "WHERE user_id=:u OR shared=1 ORDER BY snippet_name")
->bind(":u", $user->getPrimaryKeyValue())
->execute()
global $user

Definition at line 6 of file snippet_picker.inc.