PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of . Karatag   karatag Sozial Bookmark   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: karatag Sozial Bookmark
Display buttons to add pages to bookmark sites
Author: By
Last change:
Date: 15 years ago
Size: 806 bytes


Class file image Download
// Include the bookmarks class

$YourDomain = '';
$YourTitle = 'Object oriented PHP programming';
$YourKeywords = 'Object oriented, PHP, programming, software, Germany';

$sb = new sozialBookmarks($YourDomain, $YourTitle, $YourKeywords);

// if you want to change the target of the links
$sb->setVar('target', '_self');

// if you want to change the folder of the images
$sb->setVar('imagesFolder', 'images');

// if you want to change the width of the images
$sb->setVar('imageWidth', 20);

// if you want to change the height of the images
$sb->setVar('imageHeight', 20);

$result = $sb->GetCode();

// Now you can use the result
echo '<br /><h1>Sozial Bookmarks:</h1>';
'<br />'.$result;