本文整理汇总了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
示例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