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 | |
/** | |
* Abstract base class, supports magically work with properties. | |
* Allows protect tproperties and interact with them only through methods set\get. | |
*/ | |
abstract class Base | |
{ | |
/** | |
* Get protected property by calling method "getPropertyName" or "propertyName" | |
* (combines set\get methods). If methods are undefined, get property directly. |
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 defined('SYSPATH') OR die('No direct script access.'); | |
/** | |
* Example... | |
* | |
* @package Kohana/CLI | |
* @category Task | |
* @author Kohana Team | |
* @copyright (c) 2013-2014 Kohana Team | |
* @license http://kohanaframework.org/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 | |
/** | |
* Used to create serializable anonymous function, based on PHP function | |
* [create_function](http://php.net/create-function). | |
* | |
* @package Enso | |
* @category Base | |
* @license http://ensophp.github.io/license | |
*/ | |
namespace Enso; |
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 |
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
/* 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 | |
/** | |
* 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
<?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 | |
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 | |
/** | |
* Extended plugin for Webasyst framework. | |
*/ | |
abstract class waExtendedPlugin extends waPlugin | |
{ | |
/** | |
* @var waSystem | |
*/ |
OlderNewer