Classe tipo Gino.Model che rappresenta una singola news.
More...
|
static | getCount ($controller, $options=null) |
| Restituisce il numero di news che soddisfano le condizioni date. More...
|
|
Classe tipo Gino.Model che rappresenta una singola news.
- Version
- 2.1.0
- Copyright
- 2012-2014 Otto srl MIT License http://www.opensource.org/licenses/mit-license.php
- Author
- 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 32 of file class.Article.php.
__construct |
( |
|
$id, |
|
|
|
$instance |
|
) |
| |
Rappresentazione a stringa dell'oggetto.
- Returns
- titolo news
Definition at line 75 of file class.Article.php.
attachmentDownloadUrl |
( |
| ) |
|
Path relativo al download dell'allegato.
- Returns
- path relativo
Definition at line 256 of file class.Article.php.
Path relativo dell'allegato.
- Returns
- path relativo dell'allegato
Definition at line 247 of file class.Article.php.
static getCount |
( |
|
$controller, |
|
|
|
$options = null |
|
) |
| |
|
static |
Restituisce il numero di news che soddisfano le condizioni date.
- Parameters
-
\Gino\App\News\news | $controller | istanza del controller Gino.App.News.news |
array | $options | array associativo di opzioni |
- Returns
- numero di news
Definition at line 192 of file class.Article.php.
Path relativo dell'immagine associata.
- Returns
- path relativo dell'immagine
Definition at line 238 of file class.Article.php.
Sovrascrive la struttura di default.
- See also
- Gino.Model::structure()
- Parameters
-
- Returns
- array, struttura
Definition at line 86 of file class.Article.php.
$_extension_attachment = array('pdf', 'doc', 'xdoc', 'odt', 'xls', 'csv', 'txt') |
|
staticprotected |
$_extension_img = array('jpg', 'jpeg', 'png') |
|
staticprotected |
$table_ctgs = 'news_article_category' |
|
static |
The documentation for this class was generated from the following file: