Menu

## SeedDMS_Core_AddContentResultSet
in package

inc.ClassDocument.php : 6501

Class to represent a list of document contents

##### Tags

category

  DMS

author

  Markus Westphal, Malcolm Cowe, Matteo Lucarelli, Uwe Steinmann uwe@steinmann.cx

copyright

  Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, 2010-2024 Uwe Steinmann

version

  Release: @package_version@

### Table of Contents

#### Properties

$_content : mixed
$_dms : SeedDMS_Core_DMS
$_grpApprovers : null
$_grpReviewers : null
$_indApprovers : null
$_indReviewers : null
$_status : null

#### Methods

__construct() : mixed
  SeedDMS_Core_AddContentResultSet constructor.
addApprover() : bool
addReviewer() : bool
getApprovers() : array<string|int, mixed>|bool|null
getContent() : mixed
getReviewers() : array<string|int, mixed>|bool|null
getStatus() : null
setDMS() : mixed
  Set dms this object belongs to.
setStatus() : bool

### Properties

#### $_content

inc.ClassDocument.php : 6526
`protected mixed $_content`

#### $_dms

inc.ClassDocument.php : 6536
`protected SeedDMS_Core_DMS $_dms`

back reference to document management system

#### $_grpApprovers

inc.ClassDocument.php : 6521
`protected null $_grpApprovers`

#### $_grpReviewers

inc.ClassDocument.php : 6511
`protected null $_grpReviewers`

#### $_indApprovers

inc.ClassDocument.php : 6516
`protected null $_indApprovers`

#### $_indReviewers

inc.ClassDocument.php : 6506
`protected null $_indReviewers`

#### $_status

inc.ClassDocument.php : 6531
`protected null $_status`

### Methods

#### __construct()

inc.ClassDocument.php : 6542

SeedDMS_Core_AddContentResultSet constructor.

`public __construct( $content) : mixed`

##### Parameters

$content :

#### addApprover()

inc.ClassDocument.php : 6605
`public addApprover( $approver, $type, $status) : bool`

##### Parameters

$approver :
$type :
$status :

##### Return values

bool

#### addReviewer()

inc.ClassDocument.php : 6572
`public addReviewer( $reviewer, $type, $status) : bool`

##### Parameters

$reviewer :
$type :
$status :

##### Return values

bool

#### getApprovers()

inc.ClassDocument.php : 6681
`public getApprovers( $type) : array<string|int, mixed>|bool|null`

##### Parameters

$type :

##### Return values

array<string|int, mixed>|bool|null

#### getContent()

inc.ClassDocument.php : 6657
`public getContent() : mixed`

#### getReviewers()

inc.ClassDocument.php : 6665
`public getReviewers( $type) : array<string|int, mixed>|bool|null`

##### Parameters

$type :

##### Return values

array<string|int, mixed>|bool|null

#### getStatus()

inc.ClassDocument.php : 6650
`public getStatus() : null`

##### Return values

null

#### setDMS()

inc.ClassDocument.php : 6562

Set dms this object belongs to.

`public setDMS(SeedDMS_Core_DMS $dms) : mixed`

Each object needs a reference to the dms it belongs to. It will be set when the object is created. The dms has a references to the currently logged in user and the database connection.

##### Parameters

$dms : SeedDMS_Core_DMS

  reference to dms

#### setStatus()

inc.ClassDocument.php : 6636
`public setStatus( $status) : bool`

##### Parameters

$status :

##### Return values

bool

## Search results