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
filesource:  Source Code for this file
license:  Content Management


[ Top ]


Class Variables

$ACTIVE_TABLE =

[line 17]


Type:   mixed


[ Top ]

$ACTIVE_TYPE =

[line 18]


Type:   mixed


[ Top ]

$dispatcher =  null

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$P_BODY =

[line 28]


Type:   mixed


[ Top ]

$P_DATE_CREA =

[line 29]


Type:   mixed


[ Top ]

$P_ID =

[line 26]


Type:   mixed


[ Top ]

$P_LAST_MODIFY =

[line 30]


Type:   mixed


[ Top ]

$P_TABLE =  T_PUBLI_CONT

[line 31]


Type:   mixed


[ Top ]

$P_TITLE =

[line 27]


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


constructor __construct [line 35]

contents __construct( )



Tags:

access:  public


[ Top ]

method AddContents [line 107]

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 changeRanges [line 180]

bool changeRanges( array $array, object $sql_object, $element)

contents::changeRanges() changes contents range



Tags:

access:  public


Parameters:

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

[ Top ]

method CheckDataIntegrity [line 63]

boolean CheckDataIntegrity( array $table, string $type)

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'

[ Top ]

method DeleteContents [line 213]

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 ModifyContents [line 145]

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 ]

method __call [line 40]

void __call( $method, $arguments)



Tags:

access:  public


Parameters:

   $method  
   $arguments  

[ Top ]


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