1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

featurebox front-end - dynamic (AJAX) loading added, the rest is only theme styling; working examples in jayya and _blank (better one)

This commit is contained in:
secretr
2009-12-10 22:46:46 +00:00
parent 52d9d13d3f
commit abc0d5a7c6
20 changed files with 597 additions and 194 deletions

View File

@@ -9,8 +9,8 @@
* Featurebox Item model
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/includes/item.php,v $
* $Revision: 1.2 $
* $Date: 2009-12-08 17:21:32 $
* $Revision: 1.3 $
* $Date: 2009-12-10 22:46:45 $
* $Author: secretr $
*
*/
@@ -103,6 +103,32 @@ class plugin_featurebox_item extends e_model
return $this->getParam('counter', 1);
}
public function sc_featurebox_limit()
{
return $this->getParam('limit', 0);
}
public function sc_featurebox_total()
{
return $this->getParam('total', 0);
}
public function sc_featurebox_all()
{
return $this->getCategory()->sc_featurebox_category_all();
}
public function sc_featurebox_cols()
{
return $this->getParam('cols', 1);
}
public function sc_featurebox_colcount()
{
return $this->getParam('col_counter', 1);
}
/**
* Set current category
* @param plugin_featurebox_category $category