File size: 598 Bytes
07c3cdd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
$config = array();
$config["pageSize"] = 20;

$arrayScope = array(
    array("value" => "view_processes", "label" => "View Processes"),
    array("value" => "edit_processes", "label" => "Edit Processes")
);

$headPublisher = &headPublisher::getSingleton();
$headPublisher->addContent("oauth2" . PATH_SEP . "accessTokenSetup"); //Adding a HTML file .html
$headPublisher->addExtJsScript("oauth2" . PATH_SEP . "accessTokenSetup", false); //Adding a JavaScript file .js
$headPublisher->assign("CONFIG", $config);
$headPublisher->assign("SCOPE", $arrayScope);

G::RenderPage("publish", "extJs");