Beispiel #1
0
 public function buildContent()
 {
     if (PsGlobals::inst()->exists()) {
         $PARAMS['exists'] = true;
         $PARAMS['props'] = PsGlobals::inst()->getProps();
     } else {
         $PARAMS['exists'] = false;
         $PARAMS['path'] = ConfigIni::projectGlobalsFilePath();
     }
     echo $this->getFoldedEntity()->fetchTpl($PARAMS);
 }
Beispiel #2
0
$params = array('client_id' => $client_id, 'redirect_uri' => $redirect_uri, 'response_type' => 'code');
echo urlencode(http_build_query($params));
//echo PsEnvironment::isIncluded();
//print_r(PsMathRebusSolver::solve('драма+драма=театр'));
die;
PSSmarty::smarty();
echo (new SmartyFunctions())->psctrl(array());
die;
print_r(FoldedStorage::listFoldingUniques());
print_r(FoldedStorageInsts::listFoldingUniques());
die;
var_dump(ConfigIni::projectSrcAdminDir());
br();
var_dump(ConfigIni::projectSrcCommonDir());
br();
var_dump(ConfigIni::projectGlobalsFilePath());
br();
new YouTubePluginAdmin();
die;
ExceptionHandler::dumpError(new Exception('XXXX'), 'Additional info');
die;
class X
{
    protected function __construct()
    {
        echo 'X';
    }
}
class Y extends X
{
    function __construct()
Beispiel #3
0
 protected function __construct()
 {
     $this->DI = DirItem::inst(ConfigIni::projectGlobalsFilePath(), null, PsConst::EXT_PHP);
     $this->FileMtimeUpdate();
 }