<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Getting started</title><link>https://sourceforge.net/p/dstyles/wiki/Getting%2520started/</link><description>Recent changes to Getting started</description><atom:link href="https://sourceforge.net/p/dstyles/wiki/Getting%20started/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 01 Sep 2013 08:59:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dstyles/wiki/Getting%20started/feed" rel="self" type="application/rss+xml"/><item><title>Getting started modified by Donator</title><link>https://sourceforge.net/p/dstyles/wiki/Getting%2520started/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="getting-started"&gt;Getting started&lt;/h1&gt;
&lt;p&gt;To start using DStyle You need to include (or require) it to Your script:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;
&lt;span class="c1"&gt;// Here specify path to Your DStyles.php file&lt;/span&gt;
&lt;span class="k"&gt;require&lt;/span&gt; &lt;span class="s1"&gt;'includes/DStyles.php'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="cp"&gt;?&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;After that You have to create DStyles Object:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;
&lt;span class="c1"&gt;// Creating an object&lt;/span&gt;
&lt;span class="nv"&gt;$obj&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;DStyles&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// or&lt;/span&gt;
&lt;span class="nv"&gt;$obj&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;DStyles&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="cp"&gt;?&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You can specify default values in 2 places:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In DStyles.php file as &lt;a class="" href="../DStyles%20constants"&gt;constants&lt;/a&gt;,&lt;/li&gt;
&lt;li&gt;Passing them as &lt;a class="" href="../DStyles%20object"&gt;parameters&lt;/a&gt; while creating object.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Donator</dc:creator><pubDate>Sun, 01 Sep 2013 08:59:14 -0000</pubDate><guid>https://sourceforge.netd22c44ea21190269e99f38800718c7b487f6b8e4</guid></item></channel></rss>