Menu

Getting started

Donator

Getting started

To start using DStyle You need to include (or require) it to Your script:

<?php
// Here specify path to Your DStyles.php file
require 'includes/DStyles.php';
?>

After that You have to create DStyles Object:

<?php
// Creating an object
$obj = new DStyles;

// or
$obj = new DStyles();
?>

You can specify default values in 2 places:

  1. In DStyles.php file as constants,
  2. Passing them as parameters while creating object.

Related

Wiki: DStyles constants
Wiki: DStyles object
Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.