phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Class: oops_comment

Source Location: /modules/module_oops.php

Class oops_comment

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From oops_record

oops_record::$data
oops_record::$loaded
oops_record::$primarykey_fieldname
oops_record::$tablename
oops_record::$type

Inherited From oops_record

oops_record::__construct()
Construct a record
oops_record::cache()
Cache this instance using it's own id
oops_record::call_all()
Call every class-method with a specific name
oops_record::call_best()
Call the 'best' (latest,highest in the class hierarchy) method
oops_record::delete()
Delete the current record
oops_record::getLanguageField()
Built-in language field logica
oops_record::get_columns()
Get the column information from the table
oops_record::get_database()
Get a database resource
oops_record::get_id()
Get ID of the record
oops_record::get_jsonp()
Get the contents of the object in JSON format
oops_record::get_no_of_records()
Return the number of records
oops_record::get_object_vars()
oops_record::get_primarykey_fieldname()
Get the name of the primarykey fieldname
oops_record::have_best()
Have a 'best' call?
oops_record::load()
Load record by primary key
oops_record::loadall()
Load records by a specific field and value
oops_record::loadallby()
Load records by a specific field and value
oops_record::loadby()
Load record by a specific field and value
oops_record::loaded()
Returns true if the record has been loaded from a source
oops_record::mark_as_loaded()
oops_record::register()
register this class to the registry
oops_record::save()
Save the current record
oops_record::search()
oops_record::set_jsonp()
Put the contents of the object from a JSON feed
oops_record::share_instance()
Internal call for sharing data between records
oops_record::smarty_load()
Smarty standard load
oops_record::smarty_loadall()
Smarty standard load all
oops_record::smarty_search()
Implements searching
oops_record::type()
Get record type
oops_record::weigh()
A dummy weigh function
oops_record::_smarty_loadall_params()
Default smarty loadall params parsing
oops_record::__call()
Make method calls to other classes which also descend from the base class
oops_record::__delete()
Delete the current record
oops_record::__get()
Internal getter
oops_record::__isset()
Internal issetter
oops_record::__load()
Load records as objects via a select sql array
oops_record::__load_array()
Load records as arrays via an select sql array or sql string
oops_record::__save()
Save an associative array to the database
oops_record::__search_records()
Perform a search on the table and weigh/sort the results
oops_record::__set()
Internal setter
oops_record::__transfer_get()
Get the value of a field, but do no conversions on it
oops_record::__transfer_set()
Set the value of a field, but do no conversions on it
oops_record::__unset()
Internal unsetter

[ Top ]
Property Summary
mixed   $is_preview  

[ Top ]
Method Summary
oops_comment   __construct()  
void   anchor()  
void   editlink()  
void   format_date()  
void   gravatar()  
void   is_preview()  
void   load_from_temp()  
void   safe_name()  
void   set_is_preview()  
void   smarty_loadall()   Smarty standard loadall

[ Top ]
Properties
mixed   $is_preview = false [line 5985]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 5987]

  oops_comment __construct( )


API Tags:
Access:  public


Redefinition of:
oops_record::__construct()
Construct a record

[ Top ]
anchor  [line 6025]

  void anchor( )


API Tags:
Access:  public


[ Top ]
editlink  [line 6053]

  void editlink( )


API Tags:
Access:  public


[ Top ]
format_date  [line 6046]

  void format_date( )


API Tags:
Access:  public


[ Top ]
gravatar  [line 6032]

  void gravatar( )


API Tags:
Access:  public


[ Top ]
is_preview  [line 6018]

  void is_preview( )


API Tags:
Access:  public


[ Top ]
load_from_temp  [line 5998]

  void load_from_temp( )


API Tags:
Access:  public


[ Top ]
safe_name  [line 6039]

  void safe_name( )


API Tags:
Access:  public


[ Top ]
set_is_preview  [line 6011]

  void set_is_preview( )


API Tags:
Access:  public


[ Top ]
smarty_loadall  [line 6086]

  void smarty_loadall( $params, &$smarty  )

Smarty standard loadall

A simple basic load call to load specific records

<dl> <dt>assign</dt><dd>assign result to this variable</dd> <dt>entry</dt><dd>value is an entry uid whose comments you want to load</dd> <dt>by_<em>column</em></dt><dd>value must be exactly this value</dd> <dt>eq_<em>column</em></dt><dd>value must be exactly this value</dd> <dt>ne_<em>column</em></dt><dd>value must not be this value</dd> <dt>lt_<em>column</em></dt><dd>value must be less then this value</dd> <dt>lte_<em>column</em></dt><dd>value must be less than or equal to this value</dd> <dt>gt_<em>column</em></dt><dd>value must be greater than this value</dd> <dt>gte_<em>column</em></dt><dd>value must be greater than or equal to this value</dd> <dt>like_<em>column</em></dt><dd>value must be like this value</dd> <dt>limit</dt><dd>limit the number of results to this value</dd> <dt>order_by</dt><dd>order the results on these columns</dd> <dt>group_by</dt><dd>group the results using these columns</dd> <dt>sql_offset</dt><dd>set the sql offset in the sql statement</dd> <dt>sql_limit</dt><dd>limit the number of results in the sql statement</dd> <dt>random<dt><dd>set to '1' to choose a random result</dd> <dt>size</dt><dd>size of the pages used for pagination (don't use limit anymore)</dd> <dt>paginate</dt><dd>set the GET variable used for the pagination</dd> </dl>

Example:

  1. [[oops_*entry*_loadall assign='*entry*s']]

Example:
  1. [[oops_*entry*_loadall assign='*entry*s' order_by='publish_date']]

Parameters:
   $params: 
   &$smarty: 

API Tags:
Access:  public


Redefinition of:
oops_record::smarty_loadall()
Smarty standard load all

[ Top ]

Documentation generated on Thu, 17 May 2012 01:07:19 +0200 by phpDocumentor 1.4.3