PHP 클래스 Sesha_Api, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) This file defines Sesha's external API interface. Other applications can interact with Sesha through this API.
저자: Bo Daley ([email protected])
상속: extends Horde_Registry_Api
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
getQueueDetails ( integer $queue_id ) : array Get a queueDetails hash for a queue (category)
getVersionDetails ( integer $version_id ) : array return a version details hash by version id
listQueues ( ) : array List categories as ticket queues
listVersions ( integer $queue_id ) : array List Stock items as versions for a queue (category)

메소드 상세

getQueueDetails() 공개 메소드

Get a queueDetails hash for a queue (category)
public getQueueDetails ( integer $queue_id ) : array
$queue_id integer The Queue for which to build the details hash
리턴 array A hash of category id as id, category label as name, category description as description, a link, a list of subjects as configured

getVersionDetails() 공개 메소드

return a version details hash by version id
public getVersionDetails ( integer $version_id ) : array
$version_id integer The ID of the stock item to display as a version
리턴 array The version hash containing stock name as name, stock note as description and a link

listQueues() 공개 메소드

List categories as ticket queues
public listQueues ( ) : array
리턴 array a list of ticket queues with category id as key and category caption as value

listVersions() 공개 메소드

List Stock items as versions for a queue (category)
public listVersions ( integer $queue_id ) : array
$queue_id integer The category id (queue) for which we want to fetch versions
리턴 array A hash containing stock id as id, stock name as name, stock note as description