linea21-modules
[ class tree: linea21-modules ] [ index: linea21-modules ] [ all elements ]

Class: news

Source Location: /class/class.news.php

Class Overview




Author(s):

Version:

  • $id SVN

Variables

Methods



Class Details

[line 12]


Tags:

author:  linea21 <info@linea21.com>
version:  $id SVN
access:  public
filesource:  Source Code for this file
license:  News Management


[ Top ]


Class Variables

$BODY =

[line 19]



Tags:

access:  public

Type:   mixed


[ Top ]

$dispatcher =  null

[line 30]



Tags:

access:  protected

Type:   mixed


[ Top ]

$HEADER =

[line 18]



Tags:

access:  public

Type:   mixed


[ Top ]

$ID =

[line 16]



Tags:

access:  public

Type:   mixed


[ Top ]

$IS_NATIONAL =

[line 28]



Tags:

access:  public

Type:   mixed


[ Top ]

$LEVEL =

[line 22]



Tags:

access:  public

Type:   mixed


[ Top ]

$PEREMPT_DATE =

[line 27]



Tags:

access:  public

Type:   mixed


[ Top ]

$POSTED_BY =

[line 24]



Tags:

access:  public

Type:   mixed


[ Top ]

$POST_DATE =

[line 25]



Tags:

access:  public

Type:   mixed


[ Top ]

$PUBLISHED_DATE =

[line 26]



Tags:

access:  public

Type:   mixed


[ Top ]

$RANGE =

[line 23]



Tags:

access:  public

Type:   mixed


[ Top ]

$SCALE =

[line 21]



Tags:

access:  public

Type:   mixed


[ Top ]

$STATUT =

[line 29]



Tags:

access:  public

Type:   mixed


[ Top ]

$TDB_NEWS =  T_NEWS

[line 15]



Tags:

access:  public

Type:   mixed


[ Top ]

$THEME =

[line 20]



Tags:

access:  public

Type:   mixed


[ Top ]

$TITLE =

[line 17]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 33]

news __construct( )



Tags:

access:  public


[ Top ]

method AddNews [line 112]

integer AddNews( array $table_news, object $sql_object)

news::AddNews() Ajout d'une news



Tags:

access:  public


Parameters:

array   $table_news   : contient les composants d'une news
object   $sql_object  

[ Top ]

method changeRanges [line 239]

bool changeRanges( array $array, object $sql_object)

news::changeRanges() changes News range



Tags:

access:  public


Parameters:

object   $sql_object  
array   $array   : Id (key) and ranges (value)

[ Top ]

method CheckDataIntegrity [line 83]

boolean CheckDataIntegrity( array $table)

news::CheckDataIntegrity() Vérification intégrité des données



Tags:

return:  true si verifié, sinon string 'message d'erreur'
access:  public


Parameters:

array   $table   : contient les composants Nécessaires d'une news

[ Top ]

method DeleteNews [line 174]

bool DeleteNews( int $ID, object $sql_object)

news::DeleteNews() suppression d'une news



Tags:

access:  public


Parameters:

int   $ID   : identifiant de la news
object   $sql_object  

[ Top ]

method ModifyNews [line 192]

boolean ModifyNews( integer $ID, array $table_news, object $sql_object)

news::ModifyNews() modification d'une news



Tags:

access:  public


Parameters:

integer   $ID   : identifiant de la news
object   $sql_object  
array   $table_news   : contient les composants d'une news

[ Top ]

method __call [line 38]

void __call( $method, $arguments)



Tags:

access:  public


Parameters:

   $method  
   $arguments  

[ Top ]


Documentation generated on Thu, 03 May 2012 15:02:31 +0200 by phpDocumentor 1.4.1