Author: Derick Rethans
Date: 2006-01-24 09:04:19 +0100 (Tue, 24 Jan 2006)
New Revision: 2012

Log:
- Added tutorial stub.

Added:
   packages/Translation/trunk/docs/tutorial.txt
   packages/Translation/trunk/docs/tutorial_autoload.php
   packages/Translation/trunk/docs/tutorial_example_01.php

Added: packages/Translation/trunk/docs/tutorial.txt
===================================================================
--- packages/Translation/trunk/docs/tutorial.txt        2006-01-23 22:26:12 UTC 
(rev 2011)
+++ packages/Translation/trunk/docs/tutorial.txt        2006-01-24 08:04:19 UTC 
(rev 2012)
@@ -0,0 +1,33 @@
+eZ components - Translation
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Introduction
+============
+
+
+
+Class overview
+==============
+
+
+
+Installation
+============
+
+This tutorial assumes that you have set-up an eZ components environment. For
+information on how to do this, please refer to the `Components Introduction`_.
+
+.. _Components Introduction: 
http://ez.no/community/articles/an_introduction_to_ez_components
+
+
+Usage
+=====
+
+
+
+..
+   Local Variables:
+   mode: rst
+   fill-column: 79
+   End:
+   vim: et syn=rst tw=79


Property changes on: packages/Translation/trunk/docs/tutorial.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: packages/Translation/trunk/docs/tutorial_autoload.php
===================================================================
--- packages/Translation/trunk/docs/tutorial_autoload.php       2006-01-23 
22:26:12 UTC (rev 2011)
+++ packages/Translation/trunk/docs/tutorial_autoload.php       2006-01-24 
08:04:19 UTC (rev 2012)
@@ -0,0 +1,23 @@
+<?php
+
+require_once 'Base/trunk/src/base.php';
+
+/**
+ * Autoload ezc classes 
+ * 
+ * @param string $class_name 
+ */
+function __autoload( $class_name )
+{
+    if ( ezcBase::autoload( $class_name ) )
+    {
+        return;
+    }
+    if ( strpos( $class_name, '_' ) !== false )
+    {
+        $file = str_replace( '_', '/', $class_name ) . '.php';
+        require_once( $file );
+    }
+}
+
+?>


Property changes on: packages/Translation/trunk/docs/tutorial_autoload.php
___________________________________________________________________
Name: svn:eol-style
   + native

Added: packages/Translation/trunk/docs/tutorial_example_01.php
===================================================================
--- packages/Translation/trunk/docs/tutorial_example_01.php     2006-01-23 
22:26:12 UTC (rev 2011)
+++ packages/Translation/trunk/docs/tutorial_example_01.php     2006-01-24 
08:04:19 UTC (rev 2012)
@@ -0,0 +1,3 @@
+<?php
+require_once 'tutorial_autoload.php';
+?>


Property changes on: packages/Translation/trunk/docs/tutorial_example_01.php
___________________________________________________________________
Name: svn:eol-style
   + native

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to