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

Class: resources

Source Location: /class/class.resources.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:  Resource Management


[ Top ]


Class Variables

$ACTIVE_TABLE =

[line 17]


Type:   mixed


[ Top ]

$ACTIVE_TYPE =

[line 18]


Type:   mixed


[ Top ]

$B_AUTHOR =

[line 21]


Type:   mixed


[ Top ]

$B_DATE =

[line 25]


Type:   mixed


[ Top ]

$B_DATE_CREA =

[line 27]


Type:   mixed


[ Top ]

$B_EDITOR =

[line 24]


Type:   mixed


[ Top ]

$B_ID =

[line 20]


Type:   mixed


[ Top ]

$B_LAST_MODIFY =

[line 28]


Type:   mixed


[ Top ]

$B_RANGE =

[line 26]


Type:   mixed


[ Top ]

$B_SUBTITLE =

[line 23]


Type:   mixed


[ Top ]

$B_TITLE =

[line 22]


Type:   mixed


[ Top ]

$B_VALIDITY =

[line 29]


Type:   mixed


[ Top ]

$dispatcher =  null

[line 55]



Tags:

access:  protected

Type:   mixed


[ Top ]

$L_DATE_CREA =

[line 36]


Type:   mixed


[ Top ]

$L_ID =

[line 32]


Type:   mixed


[ Top ]

$L_LAST_MODIFY =

[line 37]


Type:   mixed


[ Top ]

$L_MASK =

[line 34]


Type:   mixed


[ Top ]

$L_RANGE =

[line 35]


Type:   mixed


[ Top ]

$L_TEXT =

[line 33]


Type:   mixed


[ Top ]

$L_VALIDITY =

[line 38]


Type:   mixed


[ Top ]

$M_DATE_CREA =

[line 46]


Type:   mixed


[ Top ]

$M_DESC =

[line 43]


Type:   mixed


[ Top ]

$M_ID =

[line 41]


Type:   mixed


[ Top ]

$M_LAST_MODIFY =

[line 47]


Type:   mixed


[ Top ]

$M_MAX_PHOTO_MAX_WIDTH =  720

[line 50]


Type:   mixed


[ Top ]

$M_MAX_PHOTO_MIN_WIDTH =  280

[line 51]


Type:   mixed


[ Top ]

$M_NAME =

[line 42]


Type:   mixed


[ Top ]

$M_RANGE =

[line 45]


Type:   mixed


[ Top ]

$M_UPLOAD_MAX_MO =  1024000

[line 52]


Type:   mixed


[ Top ]

$M_URI =

[line 44]


Type:   mixed


[ Top ]

$M_URI_INPUT =  "multimedia/input/"

[line 53]


Type:   mixed


[ Top ]

$M_URI_OUTPUT =  "multimedia/output/"

[line 54]


Type:   mixed


[ Top ]

$M_VALIDITY =

[line 48]


Type:   mixed


[ Top ]

$TDB_BIBLIO =  T_BIBLIO_RES

[line 30]


Type:   mixed


[ Top ]

$TDB_LIAISON =

[line 16]


Type:   mixed


[ Top ]

$TDB_LINK =  T_LINK_RES

[line 39]


Type:   mixed


[ Top ]

$TDB_MULTI =  T_MULTI_RES

[line 49]


Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 57]

resources __construct( )



Tags:

access:  public


[ Top ]

method AddBiblioRes [line 197]

integer AddBiblioRes( int $ID, array $res_table, string $type, object $sql_object)

resources::AddBiblioRes() Ajout d'une nouvelle ressource bibliographique



Tags:

access:  public


Parameters:

array   $res_table   tableau contenant les infos resources
int   $ID   identifiant du père (rattachement)
string   $type   'PUBLICATION' ou 'WORKSHOP'
object   $sql_object  

[ Top ]

method AddLinkRes [line 271]

integer AddLinkRes( int $ID, array $res_table, string $type, object $sql_object)

resources::AddLinkRes() Ajout d'une ressource de type lien



Tags:

access:  public


Parameters:

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

[ Top ]

method AddMultiRes [line 353]

integer AddMultiRes( int $ID, array $res_table, string $type, object $sql_object)

resources::AddMultiRes() Ajout d'une ressource de type multimedia



Tags:

access:  public


Parameters:

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

[ Top ]

method changeRanges [line 407]

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

resources::changeRanges() changes Resources range



Tags:

access:  public


Parameters:

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

[ Top ]

method CheckDataIntegrity [line 87]

boolean CheckDataIntegrity( array $table, string $type)

resources::CheckDataIntegrity() vérifie l'integrité d'un ressource avant Insertion



Tags:

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


Parameters:

array   $table   : contient les composants d'une ressource
string   $type   : 'LINK', 'BIBLIO', 'MULTI'

[ Top ]

method CheckOnlineFile [line 121]

boolean CheckOnlineFile( $path $path)

resources::CheckOnlineFile() vérifie l'existence d'un fichier en ligne



Tags:

access:  public


Parameters:

$path   $path  

[ Top ]

method DeleteBiblioRes [line 250]

bool DeleteBiblioRes( int $ID, object $sql_object)

resources::DeleteBiblioRes() suppression d'une ressource bibliographique



Tags:

access:  public


Parameters:

int   $ID   identifiant de la ressource a supprimer
object   $sql_object  

[ Top ]

method DeleteLinkRes [line 332]

bool DeleteLinkRes( int $ID, object $sql_object)

resources::DeleteLinkRes() suppression d'une ressource de type lien



Tags:

access:  public


Parameters:

int   $ID   identifiant de la ressource a supprimer
object   $sql_object  

[ Top ]

method DeleteMultiRes [line 438]

bool DeleteMultiRes( int $ID, object $sql_object)

resources::DeleteMultiRes() suppression d'une ressource multimedia



Tags:

access:  public


Parameters:

int   $ID   identifiant de la ressource a supprimer
object   $sql_object  

[ Top ]

method IsValidProtocol [line 139]

boolean IsValidProtocol( array $url)

resources::IsValidProtocol() vérifie si une url donnée a un protocole reconnu par un client web standard



Tags:

access:  public


Parameters:

array   $url   : chemin absolu

[ Top ]

method ModifyBiblioRes [line 227]

bool ModifyBiblioRes( int $ID, array $res_table, object $sql_object)

resources::ModifyBiblioRes() modification d'une ressource bibliographique



Tags:

access:  public


Parameters:

int   $ID   identifiant de la ressource
object   $sql_object  
array   $res_table   tableau contenant les infos resources

[ Top ]

method ModifyLinkRes [line 306]

bool ModifyLinkRes( int $ID, array $res_table, object $sql_object)

resources::ModifyLinkRes() modification d'une ressource de type lien



Tags:

access:  public


Parameters:

int   $ID   identifiant de la ressource
array   $res_table   tableau contenant les infos ressources
object   $sql_object  

[ Top ]

method ModifyMultiRes [line 383]

bool ModifyMultiRes( int $ID, array $res_table, object $sql_object)

resources::ModifyMultiRes() modification d'une ressource de type multimedia



Tags:

access:  public


Parameters:

int   $ID   identifiant de la ressource
array   $res_table   tableau contenant les infos ressources
object   $sql_object  

[ Top ]

method __call [line 62]

void __call( $method, $arguments)



Tags:

access:  public


Parameters:

   $method  
   $arguments  

[ Top ]


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