<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - ekobudisetiyo</title>
<link>http://snipplr.com/users/ekobudisetiyo</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 16:16:49 GMT</pubDate>
<item>
<title>(PHP) PHP5 Constant Class</title>
<link>http://snipplr.com/view/1283/php5-constant-class/</link>
<description><![CDATA[ <p>Usage:

$constant = new constant();
$constant->test = 'abcd';
$constant->test = '1234';
echo $constant->test;  // out put -> 'abcd'</p> ]]></description>
<pubDate>Tue, 03 Oct 2006 05:14:46 GMT</pubDate>
<guid>http://snipplr.com/view/1283/php5-constant-class/</guid>
</item>
<item>
<title>(PHP) PHP5 Include Path</title>
<link>http://snipplr.com/view/1278/php5-include-path/</link>
<description><![CDATA[ <p>Include Path PHP 5 class.

Usage:
$path = new fuselogic_include_path();
$path->add('/home/ekobudi/www/fuselogic');
$path->add('/home/ekobudi/www/pear');
$path->remove('/home/ekobudi/www/old_fuselgic');</p> ]]></description>
<pubDate>Tue, 03 Oct 2006 05:03:37 GMT</pubDate>
<guid>http://snipplr.com/view/1278/php5-include-path/</guid>
</item>
<item>
<title>(PHP) PHP5 Singleton Class</title>
<link>http://snipplr.com/view/414/php5-singleton-class/</link>
<description><![CDATA[ <p>Actually Singleton Class in PHP5 is very easy.
Usage:</p> ]]></description>
<pubDate>Fri, 14 Jul 2006 04:28:08 GMT</pubDate>
<guid>http://snipplr.com/view/414/php5-singleton-class/</guid>
</item>
<item>
<title>(PHP) __autoload helper class</title>
<link>http://snipplr.com/view/361/autoload-helper-class/</link>
<description><![CDATA[ <p>You know how to use it when you see the code, very simple. Just use files() method.
Example:

function __autoload($class)
{
   $files = fuselogic_autoload::files($class);
   foreach($files as $file)
   {
      if(@include_once($file)) break;
   }
}</p> ]]></description>
<pubDate>Wed, 12 Jul 2006 05:34:53 GMT</pubDate>
<guid>http://snipplr.com/view/361/autoload-helper-class/</guid>
</item>
<item>
<title>(PHP) FuseLogic - Lite version of Dependency Injection</title>
<link>http://snipplr.com/view/342/fuselogic--lite-version-of-dependency-injection/</link>
<description><![CDATA[ <p>Very usefull lite dependency injection for PHP5.
Usage:

di exends fuselogic_container()
{
   function __construct()
   {
      parant::__construct(__FILE__);
   }
}

safe this to the folder with others class with name "class.class_name.php'
then you can do like bellow

$di = new di();
$c1 = $di->class_x; //singleton
$c2 = $di->class_x; //singleton
$c3 = $di->class_x(); //not singleton</p> ]]></description>
<pubDate>Tue, 11 Jul 2006 00:31:43 GMT</pubDate>
<guid>http://snipplr.com/view/342/fuselogic--lite-version-of-dependency-injection/</guid>
</item>
<item>
<title>(PHP) PHP5 Session Wraper Class</title>
<link>http://snipplr.com/view/326/php5-session-wraper-class/</link>
<description><![CDATA[ <p>Easy and lazy way to use session in PHP5</p> ]]></description>
<pubDate>Mon, 10 Jul 2006 03:10:01 GMT</pubDate>
<guid>http://snipplr.com/view/326/php5-session-wraper-class/</guid>
</item>
<item>
<title>(PHP) Cookie Wrapper with name domain</title>
<link>http://snipplr.com/view/325/cookie-wrapper-with-name-domain/</link>
<description><![CDATA[ <p>Easy and lazy way to use cookie in PHP5</p> ]]></description>
<pubDate>Mon, 10 Jul 2006 03:08:22 GMT</pubDate>
<guid>http://snipplr.com/view/325/cookie-wrapper-with-name-domain/</guid>
</item>
<item>
<title>(PHP) Open PHP5 Object, No need to declare variable name first</title>
<link>http://snipplr.com/view/324/open-php5-object-no-need-to-declare-variable-name-first/</link>
<description><![CDATA[ <p>I use this object verry often, so that I only need to pass one object as parameter on any function. No need to wory when we refactore the function
Usage: 
$var = new open();
$var->url = 'http://www.world.com';
$var->title = 'Testing Site';

echo some_function($var);</p> ]]></description>
<pubDate>Mon, 10 Jul 2006 03:05:03 GMT</pubDate>
<guid>http://snipplr.com/view/324/open-php5-object-no-need-to-declare-variable-name-first/</guid>
</item>
</channel>
</rss>