Jeste lepsi vychytafka trasovani templat :-)
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / transports / kyberia.sk.inc
... / ...
CommitLineData
1<?php
2$transport_name='kyberia.sk';
3
4global $transports;
5
6$transports[$transport_name]['get_node_url']=function($id, $protocol='http', $domain='kyberia.sk') {
7 return "$protocol://$domain/id/$id";
8};
9
10$transports[$transport_name]['get_node_content']=function($id, $protocol='http', $domain='kyberia.sk', $content_template='2019721') {
11 return file_get_contents("$protocol://$domain/id/$id/$content_template");
12};
13
14//echo $transports[$transport_name]['get_node_content'](2019721); //Example
15
16unset($transport_name);
This page took 0.2712 seconds and 4 git commands to generate.