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

Class: Model_Keyword

Source Location: /Keyword.php

Class Overview

Model_Abstract
   |
   --Model_Keyword

Keyword model class


Methods


Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 22]
Keyword model class



[ Top ]


Class Methods


constructor __construct [line 27]

Model_Keyword __construct( )

Constructor



Tags:

access:  public


Overrides Model_Abstract::__construct() (Constructor)

[ Top ]

method clean [line 94]

void clean( integer $cleanTimestamp)

Delete keywords with last timestamp before clean timestamp



Tags:

access:  public


Parameters:

integer   $cleanTimestamp   Clean timestamp

[ Top ]

method count [line 79]

integer count( )

Count the number of keywords



Tags:

access:  public


[ Top ]

method getAll [line 43]

array getAll( [integer $start = null], [integer $count = null], [string $sortBy = null], [string $sortAsc = null])

Get all keywords



Tags:

access:  public


Parameters:

integer   $start  
integer   $count  
string   $sortBy  
string   $sortAsc  

[ Top ]

method insertOrUpdate [line 56]

void insertOrUpdate( $keyword)

Insert or update a keyword counter



Tags:

access:  public


Parameters:

array   $keyword  

[ Top ]


Documentation generated on Fri, 07 Oct 2011 08:05:50 +0300 by phpDocumentor 1.4.3