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

Class: contents

Source Location: /class/class.contents.php

Class Overview




Author(s):

Version:

  • $id SVN

Variables

Methods



Class Details

[line 13]


Tags:

author:  linea21 <info@linea21.com>
version:  $id SVN
see:  workshop, publication
access:  public
license:  Content Management


[ Top ]


Class Variables

$ACTIVE_TABLE =

[line 17]


Type:   mixed


[ Top ]

$ACTIVE_TYPE =

[line 18]


Type:   mixed


[ Top ]

$P_BODY =

[line 28]


Type:   mixed


[ Top ]

$P_DATE_CREA =

[line 31]


Type:   mixed


[ Top ]

$P_ID =

[line 26]


Type:   mixed


[ Top ]

$P_LAST_MODIFY =

[line 32]


Type:   mixed


[ Top ]

$P_MAX_PHOTO_MAX_WIDTH =  MAX_PHOTO_MAX_WIDTH

[line 34]


Type:   mixed


[ Top ]

$P_MAX_PHOTO_MIN_WIDTH =  MAX_PHOTO_MIN_WIDTH

[line 35]


Type:   mixed


[ Top ]

$P_PHOTOS_URI =

[line 30]


Type:   mixed


[ Top ]

$P_TABLE =  T_PUBLI_CONT

[line 33]


Type:   mixed


[ Top ]

$P_TEMPLATE =

[line 29]


Type:   mixed


[ Top ]

$P_TITLE =

[line 27]


Type:   mixed


[ Top ]

$P_UPLOAD_MAX_MO =  UPLOAD_MAX_MO

[line 36]


Type:   mixed


[ Top ]

$P_URI_INPUT =  "publication/contents/"

[line 37]


Type:   mixed


[ Top ]

$P_URI_OUTPUT =  "publication/contents/"

[line 38]


Type:   mixed


[ Top ]

$TDB_LIAISON =  J_PARTS

[line 16]


Type:   mixed


[ Top ]

$WR_BODY =

[line 21]


Type:   mixed


[ Top ]

$WR_DATE_CREA =

[line 22]


Type:   mixed


[ Top ]

$WR_ID =

[line 19]


Type:   mixed


[ Top ]

$WR_LAST_MODIFY =

[line 23]


Type:   mixed


[ Top ]

$WR_TABLE =  T_WORK_REP_CONT

[line 24]


Type:   mixed


[ Top ]

$WR_TITLE =

[line 20]


Type:   mixed


[ Top ]



Class Methods


method AddContents [line 111]

integer AddContents( integer $ID, array $contents_table, string $type, $sql_object, object $)

contents::AddContents() ajout d'une partie de contenu



Tags:

access:  public


Parameters:

integer   $ID   identifiant du père (rattachement)
array   $contents_table   tableau contenant les infos ressources
string   $type   'WORKSHOP' ou 'PUBLICATION'
object   $  
   $sql_object  

[ Top ]

method CheckDataIntegrity [line 50]

boolean CheckDataIntegrity( array $table, string $type, [string $type_test = 'LIGHT'])

contents::CheckDataIntegrity() vérifie l'integrité d'un partie avant Insertion



Tags:

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


Parameters:

array   $table   contient les composants d'une partie
string   $type   'P', 'W'
string   $type_test   'LIGHT', 'ROCK'

[ Top ]

method DeleteContents [line 186]

boolean DeleteContents( integer $ID, string $type, object $sql_object)

contents::DeleteContents() suppression d'une partie



Tags:

access:  public


Parameters:

integer   $ID   : identifiant du contents a supprimer
string   $type   : 'WORKSHOP' ou 'PUBLICATION'
object   $sql_object  

[ Top ]

method GetTemplateName [line 69]

void GetTemplateName( integrer $num)

contents::GetTemplateName() Retourne la forme textuelle du template



Tags:

access:  public


Parameters:

integrer   $num  

[ Top ]

method ModifyContents [line 150]

boolean ModifyContents( integer $ID, array $contents_table, string $type, object $sql_object)

contents::ModifyContents() modification d'une partie de contenu



Tags:

access:  public


Parameters:

integer   $ID   : identifiant de la partie à modifier
array   $contents_table   : tableau contenant les infos ressources
string   $type   'WORKSHOP' ou 'PUBLICATION'
object   $sql_object  

[ Top ]


Documentation generated on Fri, 16 Oct 2009 09:29:14 +0200 by phpDocumentor 1.4.1