Welcome To Snipplr


Everyone's Recent Snippets



1 ... 270 271 272 273 274 ... 554
Orders a multi-dimensional field (such as sorting multiple $orders by field 'id')
0 922 posted 14 years ago by jmiller
Pass in object. Returns array.
0 854 posted 14 years ago by jmiller
0 721 posted 14 years ago by robksawyer
A simple one liner that updates the Auth component's session variables when the user model is updated
0 575 posted 14 years ago by robksawyer
The Navigation class is a view that contains all the two navigation arrows, ie. left and right.
0 592 posted 14 years ago by derrekwayne
The Controller class handles user gestures through navigation logic and updates the Model.
0 624 posted 14 years ago by derrekwayne
The Content class is a view that listens to the model.
0 589 posted 14 years ago by derrekwayne
The singleton model extends EventDispatcher and fires events when it is updated by the controller.
0 743 posted 14 years ago by derrekwayne
The Main class uses the MCV design pattern. The entire flash embed responds to mouseover with the engage function.
0 509 posted 14 years ago by derrekwayne
Allows you to still view PHP parse errors, even if you don't have write access to your php.ini file. Since PHP pages are parsed before being executed, parse errors won't show up even if you turn on display_errors in the page you are checking.
2 732 posted 14 years ago by Moridin
Use the text files Preview Handler to display SQL files.
2 908 posted 14 years ago by ggponti
0 808 posted 14 years ago by alexandrepayet
1 2734 posted 14 years ago by gilbitron
3 786 posted 14 years ago by emanuelfelipe
0 977 posted 14 years ago by emanuelfelipe
2 912 posted 14 years ago by emanuelfelipe
It's fun to read what I wrote ages ago. An ORM that was heavily influenced (or should I say misguided) by CakePHP, lol.
2 812 posted 14 years ago by fredwu
A small plugin that you can use in the jQuery chain to delay the next in queue. For those using a jQuery library pre 1.4 (v1.4 + has .delay() ). $('.notice').fadeIn().idle(2000).fadeOut('slow');
0 723 posted 14 years ago by Meander365
<p>Add this line to &quot;functions.php&quot; in your theme directory to remove RSS feeds specific to categories. The primary blog RSS feed will still be accessible. </p><p>Taken from a post by Hollywood grind on the Wordpress.org forums.</p>
0 817 posted 14 years ago by rgsmith007
Meta Tags to Config your Web site for iPhone, iPod Touch, and iPad users
1 830 posted 14 years ago by siyingui
This may be necessary to properly add theme support for multiple menus.
0 831 posted 14 years ago by Jamie
Using the CssRegistration control is the proper way to register CSS in a SharePoint master page/layout page, but it has drawbacks. Namely, no matter what order you put them on the page the server loads them in a seemingly arbitrary order, making it...
2 830 posted 14 years ago by rumremix
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath &lt;form&gt;
0 875 posted 14 years ago by rumremix
To exclude pages from wordpress search results include the following in your theme's functions.php
0 672 posted 14 years ago by myke
Snippet from a question I answered in StackOverflow.
2 914 posted 14 years ago by rabc
1 ... 270 271 272 273 274 ... 554