This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Enso; | |
use SimpleXMLElement; | |
/** | |
* Converts array to XML object. | |
* Note: attribute keys must prefix '@'. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (! function_exists('is_iterable')) { | |
/** | |
* Verify that the contents of a variable is an iterable value. | |
* | |
* @link https://php.net/manual/en/function.is_iterable.php | |
* @param mixed $var Variable to test | |
* @return bool | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @link https://kf7.github.io | |
* @copyright (c) 2006-2020 Kohana team | |
* @license https://kf7.github.io/license/ BSD-3-Clause | |
*/ | |
declare(strict_types=1); | |
namespace KF7\System\Http\Routing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Extended plugin for Webasyst framework. | |
*/ | |
abstract class waExtendedPlugin extends waPlugin | |
{ | |
/** | |
* @var waSystem | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Sitemap; | |
/** | |
* Basic sitemap URL class. | |
*/ | |
class Url extends UrlAbstract | |
{ | |
/** | |
* Valid values of "changefreq" element. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Sitemap; | |
/** | |
* A class for generating sitemaps. | |
* @see http://sitemaps.org | |
*/ | |
class Sitemap | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A general-purpose implementation that includes the optional functionality | |
* of allowing multiple base directories for a single namespace prefix. | |
*/ | |
class Psr4Autoloader | |
{ | |
const EXTENSION = '.php'; | |
/** | |
* An associative array where the key is a namespace prefix and the value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Example: | |
<div class="thumbnail"> | |
<div class="square-box"> | |
<a href="#"><img src="..." class="img-responsive" alt="..."></a> | |
</div> | |
</div> | |
*/ | |
.square-box { | |
display: table; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Enso\Core; | |
/** | |
* Interface for request. | |
* | |
* @package Enso\Core | |
* @copyright (c) 2014 WinterSilence | |
* @license MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Enso\Core; | |
/** | |
* Inline exception handler, displays the error message, source of the exception | |
* and the stack trace of the error. | |
* | |
* @package Enso\Core | |
* @copyright (c) 2014 WinterSilence |