]> git.llucax.com Git - software/bife/bife-all.git/commitdiff
No big changes, just made some order.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 19 May 2003 01:44:46 +0000 (01:44 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 19 May 2003 01:44:46 +0000 (01:44 +0000)
22 files changed:
Doxyfile [new file with mode: 0644]
doc/bife.xmi [moved from bife.xmi with 100% similarity]
examples/data.xbf [moved from data.xml with 100% similarity]
examples/index.php [moved from index.php with 93% similarity]
examples/simple.xbf [moved from simple.xbf with 76% similarity]
examples/templates/bife_album.html [moved from templates/bife_album.html with 100% similarity]
examples/templates/bife_album_emptyitem.html [moved from templates/bife_album_emptyitem.html with 100% similarity]
examples/templates/bife_album_item.html [moved from templates/bife_album_item.html with 100% similarity]
examples/templates/bife_page.html [moved from templates/bife_page.html with 100% similarity]
examples/templates/bife_title.html [moved from templates/bife_title.html with 100% similarity]
examples/templates/photo.html [moved from templates/photo.html with 100% similarity]
src/Album.php [moved from Album.php with 100% similarity]
src/BIFE/Album.php [moved from BIFE/Album.php with 100% similarity]
src/BIFE/Container.php [moved from BIFE/Container.php with 100% similarity]
src/BIFE/Generic.php [moved from BIFE/Generic.php with 100% similarity]
src/BIFE/Page.php [moved from BIFE/Page.php with 100% similarity]
src/BIFE/Parser.php [moved from BIFE/Parser.php with 100% similarity]
src/BIFE/Title.php [moved from BIFE/Title.php with 100% similarity]
src/BIFE/Widget.php [moved from BIFE/Widget.php with 100% similarity]
src/Util.php [moved from Util.php with 100% similarity]
xmi2code.config
xmi2code.tpl.php [moved from template.php with 100% similarity]

diff --git a/Doxyfile b/Doxyfile
new file mode 100644 (file)
index 0000000..43687c7
--- /dev/null
+++ b/Doxyfile
@@ -0,0 +1,201 @@
+# Doxyfile 1.3-rc3
+
+#---------------------------------------------------------------------------
+# General configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME           = "BIFE - Build It FastEr"
+PROJECT_NUMBER         = 0.5
+OUTPUT_DIRECTORY       = doc/api
+OUTPUT_LANGUAGE        = English
+EXTRACT_ALL            = YES
+EXTRACT_PRIVATE        = YES
+EXTRACT_STATIC         = YES
+EXTRACT_LOCAL_CLASSES  = YES
+HIDE_UNDOC_MEMBERS     = NO
+HIDE_UNDOC_CLASSES     = NO
+HIDE_FRIEND_COMPOUNDS  = NO
+HIDE_IN_BODY_DOCS      = NO
+BRIEF_MEMBER_DESC      = YES
+REPEAT_BRIEF           = YES
+ALWAYS_DETAILED_SEC    = YES
+INLINE_INHERITED_MEMB  = NO
+FULL_PATH_NAMES        = NO
+STRIP_FROM_PATH        = 
+INTERNAL_DOCS          = YES
+CASE_SENSE_NAMES       = YES
+SHORT_NAMES            = NO
+HIDE_SCOPE_NAMES       = NO
+VERBATIM_HEADERS       = YES
+SHOW_INCLUDE_FILES     = YES
+JAVADOC_AUTOBRIEF      = YES
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP         = NO
+INHERIT_DOCS           = YES
+INLINE_INFO            = YES
+SORT_MEMBER_DOCS       = YES
+DISTRIBUTE_GROUP_DOC   = NO
+TAB_SIZE               = 8
+GENERATE_TODOLIST      = YES
+GENERATE_TESTLIST      = YES
+GENERATE_BUGLIST       = YES
+GENERATE_DEPRECATEDLIST= YES
+ALIASES                = 
+ENABLED_SECTIONS       = 
+MAX_INITIALIZER_LINES  = 30
+OPTIMIZE_OUTPUT_FOR_C  = NO
+OPTIMIZE_OUTPUT_JAVA   = NO
+SHOW_USED_FILES        = YES
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET                  = NO
+WARNINGS               = YES
+WARN_IF_UNDOCUMENTED   = YES
+WARN_IF_DOC_ERROR      = YES
+WARN_FORMAT            = "$file:$line: $text"
+WARN_LOGFILE           = doxygen.warn
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+INPUT                  = src/
+FILE_PATTERNS          = *.php
+RECURSIVE              = YES
+EXCLUDE                = src/BIFE.php
+EXCLUDE_SYMLINKS       = NO
+EXCLUDE_PATTERNS       = 
+EXAMPLE_PATH           = 
+EXAMPLE_PATTERNS       = 
+EXAMPLE_RECURSIVE      = NO
+IMAGE_PATH             = 
+INPUT_FILTER           = 
+FILTER_SOURCE_FILES    = NO
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER         = YES
+INLINE_SOURCES         = NO
+STRIP_CODE_COMMENTS    = YES
+REFERENCED_BY_RELATION = YES
+REFERENCES_RELATION    = YES
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+ALPHABETICAL_INDEX     = YES
+COLS_IN_ALPHA_INDEX    = 5
+IGNORE_PREFIX          = 
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+GENERATE_HTML          = YES
+HTML_OUTPUT            = html
+HTML_FILE_EXTENSION    = .html
+HTML_HEADER            = 
+HTML_FOOTER            = 
+HTML_STYLESHEET        = 
+HTML_ALIGN_MEMBERS     = YES
+GENERATE_HTMLHELP      = NO
+CHM_FILE               = 
+HHC_LOCATION           = 
+GENERATE_CHI           = NO
+BINARY_TOC             = NO
+TOC_EXPAND             = NO
+DISABLE_INDEX          = NO
+ENUM_VALUES_PER_LINE   = 4
+GENERATE_TREEVIEW      = YES
+TREEVIEW_WIDTH         = 200
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+GENERATE_LATEX         = NO
+LATEX_OUTPUT           = latex
+LATEX_CMD_NAME         = latex
+MAKEINDEX_CMD_NAME     = makeindex
+COMPACT_LATEX          = NO
+PAPER_TYPE             = a4wide
+EXTRA_PACKAGES         = 
+LATEX_HEADER           = 
+PDF_HYPERLINKS         = NO
+USE_PDFLATEX           = NO
+LATEX_BATCHMODE        = NO
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+GENERATE_RTF           = NO
+RTF_OUTPUT             = rtf
+COMPACT_RTF            = NO
+RTF_HYPERLINKS         = NO
+RTF_STYLESHEET_FILE    = 
+RTF_EXTENSIONS_FILE    = 
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+GENERATE_MAN           = NO
+MAN_OUTPUT             = man
+MAN_EXTENSION          = .3
+MAN_LINKS              = NO
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+GENERATE_XML           = NO
+XML_SCHEMA             = 
+XML_DTD                = 
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+GENERATE_AUTOGEN_DEF   = NO
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+GENERATE_PERLMOD       = NO
+PERLMOD_LATEX          = NO
+PERLMOD_PRETTY         = YES
+PERLMOD_MAKEVAR_PREFIX = 
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor   
+#---------------------------------------------------------------------------
+ENABLE_PREPROCESSING   = YES
+MACRO_EXPANSION        = NO
+EXPAND_ONLY_PREDEF     = NO
+SEARCH_INCLUDES        = YES
+INCLUDE_PATH           = 
+INCLUDE_FILE_PATTERNS  = 
+PREDEFINED             = 
+EXPAND_AS_DEFINED      = 
+SKIP_FUNCTION_MACROS   = YES
+#---------------------------------------------------------------------------
+# Configuration::addtions related to external references   
+#---------------------------------------------------------------------------
+TAGFILES               = 
+GENERATE_TAGFILE       = 
+ALLEXTERNALS           = NO
+EXTERNAL_GROUPS        = YES
+PERL_PATH              = /usr/bin/perl
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool   
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS         = YES
+HIDE_UNDOC_RELATIONS   = YES
+HAVE_DOT               = YES
+CLASS_GRAPH            = YES
+COLLABORATION_GRAPH    = YES
+TEMPLATE_RELATIONS     = YES
+INCLUDE_GRAPH          = YES
+INCLUDED_BY_GRAPH      = YES
+GRAPHICAL_HIERARCHY    = YES
+DOT_IMAGE_FORMAT       = png
+DOT_PATH               = 
+DOTFILE_DIRS           = 
+MAX_DOT_GRAPH_WIDTH    = 1024
+MAX_DOT_GRAPH_HEIGHT   = 1024
+GENERATE_LEGEND        = YES
+DOT_CLEANUP            = YES
+#---------------------------------------------------------------------------
+# Configuration::addtions related to the search engine   
+#---------------------------------------------------------------------------
+SEARCHENGINE           = NO
+CGI_NAME               = search.cgi
+CGI_URL                = 
+DOC_URL                = 
+DOC_ABSPATH            = 
+BIN_ABSPATH            = /usr/local/bin/
+EXT_DOC_PATHS          = 
similarity index 100%
rename from bife.xmi
rename to doc/bife.xmi
similarity index 100%
rename from data.xml
rename to examples/data.xbf
similarity index 93%
rename from index.php
rename to examples/index.php
index 0bd59f62a3931e8fec8ec9bd9c17d538acd0123f..57a35af254a681221764d84c8230930aec31fe32 100644 (file)
--- a/index.php
 // $Id$
 //
 
+$tmp = ini_get('include_path');
+ini_set('include_path', "../src:$tmp");
+unset($tmp);
+
+require_once 'prepend.php';
 require_once 'HTML/Template/Sigma.php';
 require_once 'BIFE/Parser.php';
 require_once 'BIFE/Page.php';
@@ -33,7 +38,7 @@ require_once 'BIFE/Title.php';
 require_once 'BIFE/Album.php';
 #require_once 'BIFE.php';
 
-$file = "simple.xbf";
+$file = 'simple.xbf';
 
 $template =& new HTML_Template_Sigma('templates');
 $template->setErrorHandling(PEAR_ERROR_PRINT);
similarity index 76%
rename from simple.xbf
rename to examples/simple.xbf
index bbf267a43702b2cf40c90264b49664b734c6a815..fe44fa394944df584919fecfeb6fdb58a94ee36c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Page title="Hola mundo!" menu="true" use="Album:Perfil">
     <Title>Datos!</Title>
-    <Album dir="imagenes" columns="8"/>
+    <Album dir="../.." columns="8"/>
 </Page>
similarity index 100%
rename from Album.php
rename to src/Album.php
similarity index 100%
rename from BIFE/Album.php
rename to src/BIFE/Album.php
similarity index 100%
rename from BIFE/Container.php
rename to src/BIFE/Container.php
similarity index 100%
rename from BIFE/Generic.php
rename to src/BIFE/Generic.php
similarity index 100%
rename from BIFE/Page.php
rename to src/BIFE/Page.php
similarity index 100%
rename from BIFE/Parser.php
rename to src/BIFE/Parser.php
similarity index 100%
rename from BIFE/Title.php
rename to src/BIFE/Title.php
similarity index 100%
rename from BIFE/Widget.php
rename to src/BIFE/Widget.php
similarity index 100%
rename from Util.php
rename to src/Util.php
index 7d48bb1ac21f54dee8cb1732d11051aaa60fc8e2..4a4076850ab5fd7ca94d41d40c7c0c76af543005 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xmi2code>
   <option key="target" value=""/>
-  <option key="xmi-input" value="bife.xmi"/>
+  <option key="xmi-input" value="doc/bife.xmi"/>
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
@@ -11,7 +11,7 @@
   <option key="files-case" value="preserve"/>
   <option key="generator" value="php.pear"/>
   <option key="template-path" value="."/>
-  <option key="php.template" value="template.php"/>
+  <option key="php.template" value="xmi2code.tpl.php"/>
   <option key="php.default-code" value="trigger_error('Not implemented!', E_USER_WARNING);"/>
   <option key="php.pear.use-package-in-classnames" value="true"/>
 </xmi2code>
similarity index 100%
rename from template.php
rename to xmi2code.tpl.php