\SeedDMS_Core_DocumentCategory

Class to represent a document category in the document management system

Summary

Methods
Properties
Constants
SeedDMS_Core_DocumentCategory()
setDMS()
getID()
getName()
setName()
isUsed()
getCategories()
addCategory()
remove()
getDocumentsByCategory()
No public properties found
No constants found
No protected methods found
$_id
$_name
$_dms
N/A
No private methods found
No private properties found
N/A

Properties

$_id

$_id : integer

Type

integer — id of document category

$_name

$_name : string

Type

string — name of category

$_dms

$_dms : object

Type

object — reference to dms this category belongs to

Methods

SeedDMS_Core_DocumentCategory()

SeedDMS_Core_DocumentCategory( $id,  $name)

Parameters

$id
$name

setDMS()

setDMS( $dms)

Parameters

$dms

getID()

getID()

getName()

getName()

setName()

setName( $newName)

Parameters

$newName

isUsed()

isUsed()

getCategories()

getCategories()

addCategory()

addCategory( $keywords)

Parameters

$keywords

remove()

remove()

getDocumentsByCategory()

getDocumentsByCategory()