mirror of
https://github.com/TechplexEngineer/opensimWebAssets.git
synced 2026-08-14 09:12:10 +00:00
doc : a few more doxygen tags
This commit is contained in:
@@ -1,4 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file bootstrap.php
|
||||
* @brief simple autoloader initialization.
|
||||
@@ -11,6 +27,12 @@ define('ROOT', dirname(__FILE__));
|
||||
define('CLASSES', ROOT . SEP . 'classes' . SEP);
|
||||
define('INTERFACES', ROOT . SEP . 'interfaces' . SEP);
|
||||
|
||||
/**
|
||||
* @brief simple autoloader, for our classes and interfaces.
|
||||
* @details lookups interfaces under 'interfaces/Ifoo.interface.php' (IFoo interface)
|
||||
* and classes under 'classes/FirstWord/SecondWord.class.php' ('FirstWord_SecondWord' class)
|
||||
* @throws RuntimeException when requested class/interface is not found.
|
||||
*/
|
||||
function __autoload($className) {
|
||||
// looking for classes :
|
||||
$classFile = CLASSES . str_replace('_', SEP, $className.'.class.php');
|
||||
|
||||
@@ -1,4 +1,20 @@
|
||||
<?
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file Engine.class.php
|
||||
* @brief Config Engine abstract class declaration
|
||||
|
||||
@@ -1,4 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file Ini.class.php
|
||||
* @brief Config_Engine_Ini class implementation
|
||||
|
||||
@@ -1,4 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file Xml.class.php
|
||||
* @brief Config_Engine_Xml class implementation
|
||||
|
||||
@@ -1,4 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file WebAsset.class.php
|
||||
* @brief WebAsset class implementation.
|
||||
|
||||
@@ -1,8 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @todo implement this :p
|
||||
*/
|
||||
class WebAsset_Viewer {
|
||||
private static $_instance;
|
||||
private static $_instance; /**< pointer to current instance */
|
||||
|
||||
/**
|
||||
* @brief simple singleton mechanism
|
||||
* @return (WebAsset_Viewer) newly_created or current instance
|
||||
*/
|
||||
public static function instance() {
|
||||
if (!self::$_instance) {
|
||||
self::$_instance = new WebAsset_Viewer();
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief interface describing a ConfigEngine
|
||||
*/
|
||||
interface IConfigEngine {
|
||||
|
||||
/** @brief loads given config */
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of WebAssets for OpenSimulator.
|
||||
*
|
||||
* WebAssets for OpenSimulator is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation.
|
||||
*
|
||||
* WebAssets for OpenSimulator is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WebAssets for OpenSimulator. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief interface representing an opensimulator asser
|
||||
* @todo add more asset properties/accessors
|
||||
*/
|
||||
interface IOpensimAsset {
|
||||
|
||||
function setUUID($uuid);
|
||||
|
||||
Reference in New Issue
Block a user