swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: PublishedStatusSearchFilter

Source Location: /code/search/filters/PublishedStatusSearchFilter.php

Class Overview

SearchFilter
   |
   --PublishedStatusSearchFilter

Search filter for Product status, whether a Product is published or unpublished.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 12]
Search filter for Product status, whether a Product is published or unpublished.



Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Methods


method apply [line 19]

void apply( SQLQuery $query)

Apply filter query SQL to a search query



Tags:

access:  public


Parameters:

SQLQuery   $query  

[ Top ]

method isEmpty [line 37]

Boolean isEmpty( )

Determine whether the filter should be applied, depending on the value of the field being passed



Tags:

access:  public


[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:28 +1300 by phpDocumentor 1.4.4