Offline Server
1.6
PHP API documentation
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
off_domains.php
Go to the documentation of this file.
1
<?php
2
/**
3
* Return offline domains where current user is affected
4
*
5
* @author Anakeen
6
* @version $Id: $
7
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
8
* @package OFFLINE
9
* @subpackage
10
*/
11
/**
12
*/
13
14
include_once (
"FDL/Class.SearchDoc.php"
);
15
include_once (
"DATA/Class.Collection.php"
);
16
include_once (
"OFFLINE/Class.DomainManager.php"
);
17
18
/**
19
* View folders and document for exchange them
20
* @param Action &$action current action
21
*/
22
function
off_domains
(Action &$action)
23
{
24
25
26
$out=
DomainManager::getDomains
();
27
//print_r2($out);
28
$action->lay->template=json_encode($out);
29
$action->lay->noparse=
true
;
// no need to parse after - increase performances
30
}
31
?>
off_domains
off_domains(Action &$action)
Definition:
off_domains.php:22
DomainManager\getDomains
static getDomains()
Definition:
Class.DomainManager.php:39
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase