{ function __construct() { //parent::__construct(); } } $y = new Y(); echo PsSecurity::isBasic(); die; ExceptionHandler::registerPretty(); print_r(PopupPagesManager::inst()->getPagesList()); die(''); echo PluginsManager::inst()->getAutogenDi('advgraph', array('x', 'y', 'z'), null, 'temp', 'php')->touch(); die; echo TestUtils::testProductivity(function () { FoldedStorage::getEntities('lib-s'); }, 200); br(); echo FoldedStorage::extractInfoFromClassName('PL_slib', $classPrefix, $entity); br(); echo $classPrefix; br(); echo $entity; die; $prefix = 'PL_math'; echo preg_match('/^[A-Z]+\\_/', $prefix, $matches); br(); print_r($matches); die; FoldedStorage::extractFoldedTypeAndSubtype('lib-xxxx-', $type, $subtype); echo "{$type}, {$subtype}";
/** * Возвращает полный список сущностей, не проверяя права доступа */ public final function getAllIdents($includePattern = false) { if (!is_array($this->IDENTS)) { $all = array_keys(FoldedStorage::getEntities($this->UNIQUE)); $this->IDENTS['full'] = $all; $this->IDENTS['short'] = array_values(array_remove_value($all, self::PATTERN_NAME)); } return $this->IDENTS[$includePattern ? 'full' : 'short']; }