gino-news  2.1.0
Modulo News per gino CMS
Category Class Reference

Classe di tipo Gino.Model che rappresenta una categoria di news. More...

Inheritance diagram for Category:
Collaboration diagram for Category:

Public Member Functions

 __construct ($id, $instance)
 Costruttore. More...
 
 __toString ()
 Rappresentazione a stringa dell'oggetto. More...
 
 structure ($id)
 Sovrascrive la struttura di default. More...
 
 imagePath ($controller)
 Path relativo dell'immagine associata. More...
 

Static Public Attributes

static $table = 'news_category'
 

Static Protected Attributes

static $_extension_img = array('jpg', 'jpeg', 'png')
 

Detailed Description

Classe di tipo Gino.Model che rappresenta una categoria di news.

Version
2.1.0
Authors
Marco Guidotti guido.nosp@m.ttim.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com

Definition at line 25 of file class.Category.php.

Constructor & Destructor Documentation

__construct (   $id,
  $instance 
)

Costruttore.

Parameters
integer$idvalore ID del record
\Gino\App\News\news$instanceistanza del controller Gino.App.News.news
Returns
istanza di Gino.App.News.Category

Definition at line 37 of file class.Category.php.

Member Function Documentation

__toString ( )

Rappresentazione a stringa dell'oggetto.

Returns
nome categoria

Definition at line 58 of file class.Category.php.

imagePath (   $controller)

Path relativo dell'immagine associata.

Parameters
news$controlleristanza del controller
Returns
path relativo dell'immagine

Definition at line 98 of file class.Category.php.

structure (   $id)

Sovrascrive la struttura di default.

See also
Gino.Model::structure()
Parameters
integer$id
Returns
array, struttura

Definition at line 69 of file class.Category.php.

Field Documentation

$_extension_img = array('jpg', 'jpeg', 'png')
staticprotected

Definition at line 27 of file class.Category.php.

$table = 'news_category'
static

Definition at line 28 of file class.Category.php.


The documentation for this class was generated from the following file: