<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/class</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 00:45:54 GMT</pubDate>
<item>
<title>(PHP) how to disable mx ping with emailChecker class - jspicher</title>
<link>http://snipplr.com/view/69921/how-to-disable-mx-ping-with-emailchecker-class/</link>
<description><![CDATA[ <p>how to disable mx ping with emailChecker class</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 12:26:24 GMT</pubDate>
<guid>http://snipplr.com/view/69921/how-to-disable-mx-ping-with-emailchecker-class/</guid>
</item>
<item>
<title>(PHP) UTF8 Friendly - phpdev</title>
<link>http://snipplr.com/view/69620/utf8-friendly/</link>
<description><![CDATA[ <p>**UTF8 Friendly PHP Class**</p> ]]></description>
<pubDate>Thu, 24 Jan 2013 22:55:29 GMT</pubDate>
<guid>http://snipplr.com/view/69620/utf8-friendly/</guid>
</item>
<item>
<title>(PHP) PHP Mail Letter Class - Zayac</title>
<link>http://snipplr.com/view/68783/php-mail-letter-class/</link>
<description><![CDATA[ <p>This is a Class that allows you create a letter with correct headers and send it to multi-emails.</p> ]]></description>
<pubDate>Tue, 27 Nov 2012 23:38:35 GMT</pubDate>
<guid>http://snipplr.com/view/68783/php-mail-letter-class/</guid>
</item>
<item>
<title>(PHP) Secure Static Session Class (Handles Arrays) - halk</title>
<link>http://snipplr.com/view/68697/secure-static-session-class-handles-arrays/</link>
<description><![CDATA[ <p>This is a static session wrapper that handles single variables and arrays.  It allows setting, resetting, and deleting session variables (without destroying the session).  It regenerates the session id every time a session is started to prevent session hijacking.  See Examples of use below the code or (https://gist.github.com/4128373)</p> ]]></description>
<pubDate>Thu, 22 Nov 2012 11:14:53 GMT</pubDate>
<guid>http://snipplr.com/view/68697/secure-static-session-class-handles-arrays/</guid>
</item>
<item>
<title>(PHP) Regex Clipboard Class (Mini-Template Engine) - halk</title>
<link>http://snipplr.com/view/68633/regex-clipboard-class-minitemplate-engine/</link>
<description><![CDATA[ <p>https://gist.github.com/4098493
(examples of use below the class code)
This class allows you to load a file of snippets that are really mini-templates copy them from your repository fill the token slots in them the with your data and render them as part of the view.  See example below the code for the format of the snippet file.</p> ]]></description>
<pubDate>Sun, 18 Nov 2012 08:23:12 GMT</pubDate>
<guid>http://snipplr.com/view/68633/regex-clipboard-class-minitemplate-engine/</guid>
</item>
<item>
<title>(PHP) Wordpress function to upload image and set as featured image - krike</title>
<link>http://snipplr.com/view/68150/wordpress-function-to-upload-image-and-set-as-featured-image/</link>
<description><![CDATA[ <p>A function to upload an image to the media library and set it as featured image of a post. It requires 2 params. The name of the upload field and of course the post ID.

This function is part of the WPelements library class available on Github. Feedback / suggestions / improvements are always welcome.</p> ]]></description>
<pubDate>Wed, 07 Nov 2012 20:12:31 GMT</pubDate>
<guid>http://snipplr.com/view/68150/wordpress-function-to-upload-image-and-set-as-featured-image/</guid>
</item>
<item>
<title>(PHP) Simple PHP cache class - peckham</title>
<link>http://snipplr.com/view/67728/simple-php-cache-class/</link>
<description><![CDATA[ <p>A simple class to cache files (or other results) with PHP.</p> ]]></description>
<pubDate>Sun, 14 Oct 2012 01:16:55 GMT</pubDate>
<guid>http://snipplr.com/view/67728/simple-php-cache-class/</guid>
</item>
<item>
<title>(PHP) BaseObject - ryantxr</title>
<link>http://snipplr.com/view/67667/baseobject/</link>
<description><![CDATA[ <p>I use this as a parent for all classes to add logger methods and some other functions as needed.</p> ]]></description>
<pubDate>Wed, 10 Oct 2012 00:28:30 GMT</pubDate>
<guid>http://snipplr.com/view/67667/baseobject/</guid>
</item>
<item>
<title>(PHP) CSV handler class - TimoZachi</title>
<link>http://snipplr.com/view/66824/csv-handler-class/</link>
<description><![CDATA[ <p>Class that convert arrays to csv format, downloads CSV files and saves to disk on server.</p> ]]></description>
<pubDate>Tue, 21 Aug 2012 04:53:02 GMT</pubDate>
<guid>http://snipplr.com/view/66824/csv-handler-class/</guid>
</item>
<item>
<title>(PHP) Get a list of class constants - ryantxr</title>
<link>http://snipplr.com/view/66060/get-a-list-of-class-constants/</link>
<description><![CDATA[ <p>Gets the constants from a class using reflection.</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 04:41:32 GMT</pubDate>
<guid>http://snipplr.com/view/66060/get-a-list-of-class-constants/</guid>
</item>
<item>
<title>(PHP) CI calendar class changes - jdhall75</title>
<link>http://snipplr.com/view/64274/ci-calendar-class-changes/</link>
<description><![CDATA[ <p>At line 220 you should see the the start if an if block.  This is the section that needs to be edited.  I added the foreach block to itterate over the data array and create links in the table cells.</p> ]]></description>
<pubDate>Sun, 01 Apr 2012 11:11:21 GMT</pubDate>
<guid>http://snipplr.com/view/64274/ci-calendar-class-changes/</guid>
</item>
<item>
<title>(PHP) DataObject class - osccar</title>
<link>http://snipplr.com/view/64045/dataobject-class/</link>
<description><![CDATA[ <p>Abstract class from which other classes can be derived to handle database access and data retrieval.
Constants for database connection (DB_DSN, DB_USERNAME, etc.) must be set in another php file (eg. config.php)</p> ]]></description>
<pubDate>Tue, 20 Mar 2012 07:04:03 GMT</pubDate>
<guid>http://snipplr.com/view/64045/dataobject-class/</guid>
</item>
<item>
<title>(PHP) PHP SPL ArrayAccess Iterator countable class - prwhitehead</title>
<link>http://snipplr.com/view/63486/php-spl-arrayaccess-iterator-countable-class/</link>
<description><![CDATA[ <p>use an object as an array</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 04:38:12 GMT</pubDate>
<guid>http://snipplr.com/view/63486/php-spl-arrayaccess-iterator-countable-class/</guid>
</item>
<item>
<title>(PHP) concept: php multidimentional methods - Knarf</title>
<link>http://snipplr.com/view/62598/concept-php-multidimentional-methods/</link>
<description><![CDATA[ <p>A class i started to implement, which ended up in a working concept
However I'm not sure if it's a legal way of programming since I unnessesery
changes the structure of php without some real value except nicer structure

For now it remain a concept

Usage:

	concept::create()->create1();
	concept::create()->create2();
	concept::test()->test1();
	concept::test()->test2();</p> ]]></description>
<pubDate>Tue, 17 Jan 2012 19:55:11 GMT</pubDate>
<guid>http://snipplr.com/view/62598/concept-php-multidimentional-methods/</guid>
</item>
<item>
<title>(PHP) Easy to implement and adjust Poll Class - RobertHegeraad</title>
<link>http://snipplr.com/view/62540/easy-to-implement-and-adjust-poll-class/</link>
<description><![CDATA[ <p>Very simple to use Web Poll Class, simply create a new instance, set the question and set the answers. You still have to set up your database yourself</p> ]]></description>
<pubDate>Sat, 14 Jan 2012 00:17:01 GMT</pubDate>
<guid>http://snipplr.com/view/62540/easy-to-implement-and-adjust-poll-class/</guid>
</item>
<item>
<title>(PHP) Simple class to retrieve an ID using a URL of the Youtube - leandroperes</title>
<link>http://snipplr.com/view/62315/simple-class-to-retrieve-an-id-using-a-url-of-the-youtube/</link>
<description><![CDATA[ <p>Simple class to retrieve an ID using a URL of the Youtube</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 08:42:49 GMT</pubDate>
<guid>http://snipplr.com/view/62315/simple-class-to-retrieve-an-id-using-a-url-of-the-youtube/</guid>
</item>
<item>
<title>(PHP) A very basic Model Class - tomcottrill</title>
<link>http://snipplr.com/view/61669/a-very-basic-model-class/</link>
<description><![CDATA[ <p>This is a sample class being used for demo purposes</p> ]]></description>
<pubDate>Mon, 05 Dec 2011 07:16:06 GMT</pubDate>
<guid>http://snipplr.com/view/61669/a-very-basic-model-class/</guid>
</item>
<item>
<title>(PHP) My database class - cdog</title>
<link>http://snipplr.com/view/60964/my-database-class/</link>
<description><![CDATA[ <p>Just my simple db class i use</p> ]]></description>
<pubDate>Fri, 18 Nov 2011 14:25:15 GMT</pubDate>
<guid>http://snipplr.com/view/60964/my-database-class/</guid>
</item>
<item>
<title>(PHP) Class database mysql - jose_506</title>
<link>http://snipplr.com/view/58716/class-database-mysql/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 16 Sep 2011 00:36:29 GMT</pubDate>
<guid>http://snipplr.com/view/58716/class-database-mysql/</guid>
</item>
<item>
<title>(PHP) SessCacher: Class for caching data through php session - TimoZachi</title>
<link>http://snipplr.com/view/58628/sesscacher-class-for-caching-data-through-php-session/</link>
<description><![CDATA[ <p>This is a custom class for caching results through php's session. The class can be used to cache anything, but i use it to cache mysql results so i don't have to get all the time the results by querying MySQL (wich may take a long time, especialy if  MySQL's server is not the same as PHP's server), increasing enormously performance. Since the database is in constant actualization, there is an optional parameter to limit the maximun number of times you want to reuse the cached data. The class is well commented with an example on how to use it bellow.</p> ]]></description>
<pubDate>Tue, 13 Sep 2011 05:47:46 GMT</pubDate>
<guid>http://snipplr.com/view/58628/sesscacher-class-for-caching-data-through-php-session/</guid>
</item>
</channel>
</rss>