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

Class: Model_Abstract

Source Location: /Abstract.php

Class Overview


Abstract model class


Variables

Constants

Methods


Child classes:

Model_Keyword
Keyword model class
Model_Keyword_Counter
Keyword counter model class
Model_Statistics
Statistics model class

Class Details

[line 22]
Abstract model class



[ Top ]


Class Variables

$_db =

[line 42]

Database connection



Tags:

access:  protected

Type:   PhpLight_Db


[ Top ]

$_sqlLoader =

[line 35]

Sql loader



Tags:

access:  protected

Type:   SqlLoader


[ Top ]



Class Methods


constructor __construct [line 47]

Model_Abstract __construct( )

Constructor



Tags:

access:  public


Overridden in child classes as:

Model_Keyword::__construct()
Constructor
Model_Keyword_Counter::__construct()
Constructor
Model_Statistics_Daily::__construct()
Constructor
Model_Statistics_Monthly::__construct()
Constructor

[ Top ]

method _getAll [line 64]

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

Get all keywords



Tags:

access:  protected


Parameters:

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

[ Top ]


Class Constants

ORDER_ASC =  'ASC'

[line 27]

Order by ascending/descending


[ Top ]

ORDER_DESC =  'DESC'

[line 28]


[ Top ]



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