当前位置: 首页>>代码示例>>PHP>>正文


PHP falcraftLoad函数代码示例

本文整理汇总了PHP中falcraftLoad函数的典型用法代码示例。如果您正苦于以下问题:PHP falcraftLoad函数的具体用法?PHP falcraftLoad怎么用?PHP falcraftLoad使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了falcraftLoad函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: realpath

 * 
 */
namespace Falcraft\Data\Components\File\Resource;

require_once realpath(__DIR__ . '/../../../../') . '/falcraftLoad.php';
/* Type.php
   Restrictions.php
   RestrictedList.php - Implements a restricted list
                        (for the 'folder' of CDirectorys)
   
   FolderInterface - Implements the Folder interface
                     (a wrapper for the LeafInterface )
   
   AbstractLeaf.php - Inherits from an abstract leaf gaining its functionality */
$includes = array('/Data/Components/File/Resource/FolderInterface.php', '/Data/Types/Resource/AbstractLeaf.php', '/Data/Types/Type.php', '/Data/Types/Restrictions.php', '/Data/Types/RestrictedList.php');
falcraftLoad($includes, __FILE__);
use Falcraft\Data\Types\Resource as TypesResource;
use Falcraft\Data\Types;
use Falcraft\Data\Types\Type;
/**
 * Abstract Folder Class
 * 
 * Defines A Path identity structure with a 'folder' of paths
 * 
 * This implements FolderInterface, adding the necessary bindings
 * 
 * It leaves path handling up to the child class, for any particulars
 * 
 * CHANGELOG
 * 
 * 1.0: Created CDirectory - February 7th, 2014
开发者ID:asherwunk,项目名称:primus2,代码行数:31,代码来源:AbstractFolder.php

示例2: realpath

 * @link http://www.furdev.com/primus-artificial-intelligence-framework/ Framework URL
 * @license http://opensource.org/licenses/MIT
 * @package Patterns
 * @subpackage Messaging
 * @category DesignPatterns
 * 
 */
/**
 * Falcraft Libraries Pattern Implementations Namespace
 * 
 */
namespace Falcraft\Patterns;

require_once realpath(__DIR__ . '/../') . '/falcraftLoad.php';
$includes = array('/Patterns/Resource/ObserverInterface.php', '/Patterns/Resource/PublisherInterface.php', '/Patterns/Resource/StateInterface.php', '/Data/Types/Type.php', '/Data/Types/Restrictions.php', '/Data/Types/RestrictedSet.php');
falcraftLoad($includes, __NAMESPACE__ . __FILE__);
use Falcraft\Data\Types\Type;
use Falcraft\Data\Types;
use Falcraft\Patterns\Resource as PatternsResource;
/**
 * Observer Class - The basic minimal observer functionality
 * 
 * Any object inheriting from Observer is prepared to perform
 * a basic tricky function remapping handler.  The observer object
 * expects a string, and then converts that string into a method call
 * as the handler of the state change
 * 
 * CHANGELOG
 * 
 * 1.0  created Observer - August 16th, 2013
 * 2.0  Adapted Observer to Primus - August 25th, 2015
开发者ID:asherwunk,项目名称:primus2,代码行数:31,代码来源:Observer.php


注:本文中的falcraftLoad函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。