Source for file AssessmentManager.php

Documentation is available at AssessmentManager.php

  1. <?php
  2. include_once(dirname(__FILE__)."/../OsidManager.php");
  3. /**
  4. * <p>
  5. * AssessmentManager handles creating and deleting:
  6. *
  7. * <ul>
  8. * <li>
  9. * Assessment,
  10. * </li>
  11. * <li>
  12. * AssessmentPublished,
  13. * </li>
  14. * <li>
  15. * Item,
  16. * </li>
  17. * <li>
  18. * Section;
  19. * </li>
  20. * </ul>
  21. *
  22. * and getting:
  23. *
  24. * <ul>
  25. * <li>
  26. * Assessment,
  27. * </li>
  28. * <li>
  29. * AssessmentPublished,
  30. * </li>
  31. * <li>
  32. * Item,
  33. * </li>
  34. * <li>
  35. * Section,
  36. * </li>
  37. * <li>
  38. * various implementation Types.
  39. * </li>
  40. * </ul>
  41. * </p>
  42. *
  43. * <p>
  44. * All implementations of OsidManager (manager) provide methods for accessing
  45. * and manipulating the various objects defined in the OSID package. A manager
  46. * defines an implementation of an OSID. All other OSID objects come either
  47. * directly or indirectly from the manager. New instances of the OSID objects
  48. * are created either directly or indirectly by the manager. Because the OSID
  49. * objects are defined using interfaces, create methods must be used instead
  50. * of the new operator to create instances of the OSID objects. Create methods
  51. * are used both to instantiate and persist OSID objects. Using the
  52. * OsidManager class to define an OSID's implementation allows the application
  53. * to change OSID implementations by changing the OsidManager package name
  54. * used to load an implementation. Applications developed using managers
  55. * permit OSID implementation substitution without changing the application
  56. * source code. As with all managers, use the OsidLoader to load an
  57. * implementation of this interface.
  58. * </p>
  59. *
  60. * <p></p>
  61. *
  62. * <p>
  63. * OSID Version: 2.0
  64. * </p>
  65. *
  66. * <p>
  67. * Licensed under the {@link org.osid.SidImplementationLicenseMIT MIT}
  68. * O.K.I&#46; OSID Definition License}.
  69. * </p>
  70. *
  71. * @package org.osid.assessment
  72. */
  73. class AssessmentManager
  74. extends OsidManager
  75. {
  76. /**
  77. * Create a new Assessment and add it to the Assessment Bank.
  78. *
  79. * @param string $name
  80. * @param string $description
  81. * @param object Type $assessmentType
  82. *
  83. * @return object Assessment
  84. *
  85. * @throws object AssessmentException An exception with one of
  86. * the following messages defined in
  87. * org.osid.assessment.AssessmentException may be thrown: {@link }
  88. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  89. * OPERATION_FAILED}, {@link }
  90. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  91. * PERMISSION_DENIED}, {@link }
  92. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  93. * CONFIGURATION_ERROR}, {@link }
  94. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  95. * UNIMPLEMENTED}, {@link }
  96. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  97. * NULL_ARGUMENT}, {@link }
  98. * org.osid.assessment.AssessmentException#UNKNOWN_TYPE
  99. * UNKNOWN_TYPE}
  100. *
  101. * @access public
  102. */
  103. function createAssessment ( $name, $description, $assessmentType ) {
  104. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  105. }
  106.  
  107. /**
  108. * Delete an Assessment from the Assessment Bank.
  109. *
  110. * @param object Id $assessmentId
  111. *
  112. * @throws object AssessmentException An exception with one of
  113. * the following messages defined in
  114. * org.osid.assessment.AssessmentException may be thrown: {@link }
  115. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  116. * OPERATION_FAILED}, {@link }
  117. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  118. * PERMISSION_DENIED}, {@link }
  119. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  120. * CONFIGURATION_ERROR}, {@link }
  121. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  122. * UNIMPLEMENTED}, {@link }
  123. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  124. * NULL_ARGUMENT}, {@link }
  125. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  126. *
  127. * @access public
  128. */
  129. function deleteAssessment ( $assessmentId ) {
  130. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  131. }
  132.  
  133. /**
  134. * Get the Assessment with the specified unique Id
  135. *
  136. * @param object Id $assessmentId
  137. *
  138. * @return object Assessment
  139. *
  140. * @throws object AssessmentException An exception with one of
  141. * the following messages defined in
  142. * org.osid.assessment.AssessmentException may be thrown: {@link }
  143. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  144. * OPERATION_FAILED}, {@link }
  145. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  146. * PERMISSION_DENIED}, {@link }
  147. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  148. * CONFIGURATION_ERROR}, {@link }
  149. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  150. * UNIMPLEMENTED}, {@link }
  151. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  152. * NULL_ARGUMENT}, {@link }
  153. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  154. *
  155. * @access public
  156. */
  157. function getAssessment ( $assessmentId ) {
  158. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  159. }
  160.  
  161. /**
  162. * Get all the Assessments of a specific Type.
  163. *
  164. * @param object Type $assessmentType
  165. *
  166. * @return object AssessmentIterator
  167. *
  168. * @throws object AssessmentException An exception with one of
  169. * the following messages defined in
  170. * org.osid.assessment.AssessmentException may be thrown: {@link }
  171. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  172. * OPERATION_FAILED}, {@link }
  173. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  174. * PERMISSION_DENIED}, {@link }
  175. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  176. * CONFIGURATION_ERROR}, {@link }
  177. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  178. * UNIMPLEMENTED}, {@link }
  179. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  180. * NULL_ARGUMENT}, {@link }
  181. * org.osid.assessment.AssessmentException#UNKNOWN_TYPE
  182. * UNKNOWN_TYPE}
  183. *
  184. * @access public
  185. */
  186. function getAssessmentsByType ( $assessmentType ) {
  187. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  188. }
  189.  
  190. /**
  191. * Get all the Assessments in the Assessment Bank.
  192. *
  193. * @return object AssessmentIterator
  194. *
  195. * @throws object AssessmentException An exception with one of
  196. * the following messages defined in
  197. * org.osid.assessment.AssessmentException may be thrown: {@link }
  198. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  199. * OPERATION_FAILED}, {@link }
  200. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  201. * PERMISSION_DENIED}, {@link }
  202. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  203. * CONFIGURATION_ERROR}, {@link }
  204. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  205. * UNIMPLEMENTED}
  206. *
  207. * @access public
  208. */
  209. function getAssessments () {
  210. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  211. }
  212.  
  213. /**
  214. * Create a new Section and add it to the Section Bank.
  215. *
  216. * @param string $name
  217. * @param string $description
  218. * @param object Type $sectionType
  219. *
  220. * @return object Section
  221. *
  222. * @throws object AssessmentException An exception with one of
  223. * the following messages defined in
  224. * org.osid.assessment.AssessmentException may be thrown: {@link }
  225. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  226. * OPERATION_FAILED}, {@link }
  227. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  228. * PERMISSION_DENIED}, {@link }
  229. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  230. * CONFIGURATION_ERROR}, {@link }
  231. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  232. * UNIMPLEMENTED}, {@link }
  233. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  234. * NULL_ARGUMENT}, {@link }
  235. * org.osid.assessment.AssessmentException#UNKNOWN_TYPE
  236. * UNKNOWN_TYPE}
  237. *
  238. * @access public
  239. */
  240. function createSection ( $name, $description, $sectionType ) {
  241. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  242. }
  243.  
  244. /**
  245. * Delete a Section from the Section Bank.
  246. *
  247. * @param object Id $sectionId
  248. *
  249. * @throws object AssessmentException An exception with one of
  250. * the following messages defined in
  251. * org.osid.assessment.AssessmentException may be thrown: {@link }
  252. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  253. * OPERATION_FAILED}, {@link }
  254. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  255. * PERMISSION_DENIED}, {@link }
  256. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  257. * CONFIGURATION_ERROR}, {@link }
  258. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  259. * UNIMPLEMENTED} , {@link }
  260. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  261. * NULL_ARGUMENT}, {@link }
  262. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  263. *
  264. * @access public
  265. */
  266. function deleteSection ( $sectionId ) {
  267. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  268. }
  269.  
  270. /**
  271. * Get the Section with the specified unique Id
  272. *
  273. * @param object Id $sectionId
  274. *
  275. * @return object Section
  276. *
  277. * @throws object AssessmentException An exception with one of
  278. * the following messages defined in
  279. * org.osid.assessment.AssessmentException may be thrown: {@link }
  280. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  281. * OPERATION_FAILED}, {@link }
  282. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  283. * PERMISSION_DENIED}, {@link }
  284. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  285. * CONFIGURATION_ERROR}, {@link }
  286. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  287. * UNIMPLEMENTED}, {@link }
  288. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  289. * NULL_ARGUMENT}, {@link }
  290. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  291. *
  292. * @access public
  293. */
  294. function getSection ( $sectionId ) {
  295. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  296. }
  297.  
  298. /**
  299. * Get all the Sections of a specific Type.
  300. *
  301. * @param object Type $sectionType
  302. *
  303. * @return object SectionIterator
  304. *
  305. * @throws object AssessmentException An exception with one of
  306. * the following messages defined in
  307. * org.osid.assessment.AssessmentException may be thrown: {@link }
  308. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  309. * OPERATION_FAILED}, {@link }
  310. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  311. * PERMISSION_DENIED}, {@link }
  312. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  313. * CONFIGURATION_ERROR}, {@link }
  314. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  315. * UNIMPLEMENTED}, {@link }
  316. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  317. * NULL_ARGUMENT}, {@link }
  318. * org.osid.assessment.AssessmentException#UNKNOWN_TYPE
  319. * UNKNOWN_TYPE}
  320. *
  321. * @access public
  322. */
  323. function getSectionsByType ( $sectionType ) {
  324. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  325. }
  326.  
  327. /**
  328. * Get all the Sections in the Section Bank.
  329. *
  330. * @return object SectionIterator
  331. *
  332. * @throws object AssessmentException An exception with one of
  333. * the following messages defined in
  334. * org.osid.assessment.AssessmentException may be thrown: {@link }
  335. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  336. * OPERATION_FAILED}, {@link }
  337. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  338. * PERMISSION_DENIED}, {@link }
  339. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  340. * CONFIGURATION_ERROR}, {@link }
  341. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  342. * UNIMPLEMENTED}
  343. *
  344. * @access public
  345. */
  346. function getSections () {
  347. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  348. }
  349.  
  350. /**
  351. * Create a new Item and add it to the Item Bank.
  352. *
  353. * @param string $name
  354. * @param string $description
  355. * @param object Type $itemType
  356. *
  357. * @return object Item
  358. *
  359. * @throws object AssessmentException An exception with one of
  360. * the following messages defined in
  361. * org.osid.assessment.AssessmentException may be thrown: {@link }
  362. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  363. * OPERATION_FAILED}, {@link }
  364. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  365. * PERMISSION_DENIED}, {@link }
  366. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  367. * CONFIGURATION_ERROR}, {@link }
  368. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  369. * UNIMPLEMENTED}, {@link }
  370. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  371. * NULL_ARGUMENT}, {@link }
  372. * org.osid.assessment.AssessmentException#UNKNOWN_TYPE
  373. * UNKNOWN_TYPE}
  374. *
  375. * @access public
  376. */
  377. function createItem ( $name, $description, $itemType ) {
  378. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  379. }
  380.  
  381. /**
  382. * Delete an Item from the Item Bank.
  383. *
  384. * @param object Id $itemId
  385. *
  386. * @throws object AssessmentException An exception with one of
  387. * the following messages defined in
  388. * org.osid.assessment.AssessmentException may be thrown: {@link }
  389. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  390. * OPERATION_FAILED}, {@link }
  391. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  392. * PERMISSION_DENIED}, {@link }
  393. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  394. * CONFIGURATION_ERROR}, {@link }
  395. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  396. * UNIMPLEMENTED}, {@link }
  397. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  398. * NULL_ARGUMENT}, {@link }
  399. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  400. *
  401. * @access public
  402. */
  403. function deleteItem ( $itemId ) {
  404. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  405. }
  406.  
  407. /**
  408. * Get the Item with the specified unique Id
  409. *
  410. * @param object Id $itemId
  411. *
  412. * @return object Item
  413. *
  414. * @throws object AssessmentException An exception with one of
  415. * the following messages defined in
  416. * org.osid.assessment.AssessmentException may be thrown: {@link }
  417. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  418. * OPERATION_FAILED}, {@link }
  419. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  420. * PERMISSION_DENIED}, {@link }
  421. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  422. * CONFIGURATION_ERROR}, {@link }
  423. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  424. * UNIMPLEMENTED}, {@link }
  425. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  426. * NULL_ARGUMENT}, {@link }
  427. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  428. *
  429. * @access public
  430. */
  431. function getItem ( $itemId ) {
  432. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  433. }
  434.  
  435. /**
  436. * Get all the Items of a specific Type.
  437. *
  438. * @param object Type $itemType
  439. *
  440. * @return object ItemIterator
  441. *
  442. * @throws object AssessmentException An exception with one of
  443. * the following messages defined in
  444. * org.osid.assessment.AssessmentException may be thrown: {@link }
  445. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  446. * OPERATION_FAILED}, {@link }
  447. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  448. * PERMISSION_DENIED}, {@link }
  449. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  450. * CONFIGURATION_ERROR}, {@link }
  451. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  452. * UNIMPLEMENTED}, {@link }
  453. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  454. * NULL_ARGUMENT}, {@link }
  455. * org.osid.assessment.AssessmentException#UNKNOWN_TYPE
  456. * UNKNOWN_TYPE}
  457. *
  458. * @access public
  459. */
  460. function getItemsByType ( $itemType ) {
  461. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  462. }
  463.  
  464. /**
  465. * Get all the Items in the Item Bank.
  466. *
  467. * @return object ItemIterator
  468. *
  469. * @throws object AssessmentException An exception with one of
  470. * the following messages defined in
  471. * org.osid.assessment.AssessmentException may be thrown: {@link }
  472. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  473. * OPERATION_FAILED}, {@link }
  474. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  475. * PERMISSION_DENIED}, {@link }
  476. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  477. * CONFIGURATION_ERROR}, {@link }
  478. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  479. * UNIMPLEMENTED}
  480. *
  481. * @access public
  482. */
  483. function getItems () {
  484. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  485. }
  486.  
  487. /**
  488. * Create an AssessmentPublished based on an Assessment.
  489. *
  490. * @param object Assessment $assessment
  491. *
  492. * @return object AssessmentPublished
  493. *
  494. * @throws object AssessmentException An exception with one of
  495. * the following messages defined in
  496. * org.osid.assessment.AssessmentException may be thrown: {@link }
  497. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  498. * OPERATION_FAILED}, {@link }
  499. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  500. * PERMISSION_DENIED}, {@link }
  501. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  502. * CONFIGURATION_ERROR}, {@link }
  503. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  504. * UNIMPLEMENTED}, {@link }
  505. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  506. * NULL_ARGUMENT}
  507. *
  508. * @access public
  509. */
  510. function createAssessmentPublished ( $assessment ) {
  511. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  512. }
  513.  
  514. /**
  515. * Delete an AssessmentPublished.
  516. *
  517. * @param object Id $assessmentPublishedId
  518. *
  519. * @throws object AssessmentException An exception with one of
  520. * the following messages defined in
  521. * org.osid.assessment.AssessmentException may be thrown: {@link }
  522. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  523. * OPERATION_FAILED}, {@link }
  524. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  525. * PERMISSION_DENIED}, {@link }
  526. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  527. * CONFIGURATION_ERROR}, {@link }
  528. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  529. * UNIMPLEMENTED}, {@link }
  530. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  531. * NULL_ARGUMENT}, {@link }
  532. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  533. *
  534. * @access public
  535. */
  536. function deleteAssessmentPublished ( $assessmentPublishedId ) {
  537. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  538. }
  539.  
  540. /**
  541. * Get the specified AssessmentPublished.
  542. *
  543. * @param object Id $assessmentPublishedId
  544. *
  545. * @return object AssessmentPublished
  546. *
  547. * @throws object AssessmentException An exception with one of
  548. * the following messages defined in
  549. * org.osid.assessment.AssessmentException may be thrown: {@link }
  550. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  551. * OPERATION_FAILED}, {@link }
  552. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  553. * PERMISSION_DENIED}, {@link }
  554. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  555. * CONFIGURATION_ERROR}, {@link }
  556. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  557. * UNIMPLEMENTED}, {@link }
  558. * org.osid.assessment.AssessmentException#NULL_ARGUMENT
  559. * NULL_ARGUMENT}, {@link }
  560. * org.osid.assessment.AssessmentException#UNKNOWN_ID UNKNOWN_ID}
  561. *
  562. * @access public
  563. */
  564. function getAssessmentPublished ( $assessmentPublishedId ) {
  565. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  566. }
  567.  
  568. /**
  569. * Get all the Assessments published.
  570. *
  571. * @return object AssessmentPublishedIterator
  572. *
  573. * @throws object AssessmentException An exception with one of
  574. * the following messages defined in
  575. * org.osid.assessment.AssessmentException may be thrown: {@link }
  576. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  577. * OPERATION_FAILED}, {@link }
  578. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  579. * PERMISSION_DENIED}, {@link }
  580. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  581. * CONFIGURATION_ERROR}, {@link }
  582. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  583. * UNIMPLEMENTED}
  584. *
  585. * @access public
  586. */
  587. function getAssessmentsPublished () {
  588. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  589. }
  590.  
  591. /**
  592. * Get all the Assessment Types.
  593. *
  594. * @return object TypeIterator
  595. *
  596. * @throws object AssessmentException An exception with one of
  597. * the following messages defined in
  598. * org.osid.assessment.AssessmentException may be thrown: {@link }
  599. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  600. * OPERATION_FAILED}, {@link }
  601. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  602. * PERMISSION_DENIED}, {@link }
  603. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  604. * CONFIGURATION_ERROR}, {@link }
  605. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  606. * UNIMPLEMENTED}
  607. *
  608. * @access public
  609. */
  610. function getAssessmentTypes () {
  611. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  612. }
  613.  
  614. /**
  615. * Get all the Section Types.
  616. *
  617. * @return object TypeIterator
  618. *
  619. * @throws object AssessmentException An exception with one of
  620. * the following messages defined in
  621. * org.osid.assessment.AssessmentException may be thrown: {@link }
  622. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  623. * OPERATION_FAILED}, {@link }
  624. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  625. * PERMISSION_DENIED}, {@link }
  626. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  627. * CONFIGURATION_ERROR}, {@link }
  628. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  629. * UNIMPLEMENTED}
  630. *
  631. * @access public
  632. */
  633. function getSectionTypes () {
  634. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  635. }
  636.  
  637. /**
  638. * Get all the Item Types.
  639. *
  640. * @return object TypeIterator
  641. *
  642. * @throws object AssessmentException An exception with one of
  643. * the following messages defined in
  644. * org.osid.assessment.AssessmentException may be thrown: {@link }
  645. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  646. * OPERATION_FAILED}, {@link }
  647. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  648. * PERMISSION_DENIED}, {@link }
  649. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  650. * CONFIGURATION_ERROR}, {@link }
  651. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  652. * UNIMPLEMENTED}
  653. *
  654. * @access public
  655. */
  656. function getItemTypes () {
  657. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  658. }
  659.  
  660. /**
  661. * Get all the Evaluation Types.
  662. *
  663. * @return object TypeIterator
  664. *
  665. * @throws object AssessmentException An exception with one of
  666. * the following messages defined in
  667. * org.osid.assessment.AssessmentException may be thrown: {@link }
  668. * org.osid.assessment.AssessmentException#OPERATION_FAILED
  669. * OPERATION_FAILED}, {@link }
  670. * org.osid.assessment.AssessmentException#PERMISSION_DENIED
  671. * PERMISSION_DENIED}, {@link }
  672. * org.osid.assessment.AssessmentException#CONFIGURATION_ERROR
  673. * CONFIGURATION_ERROR}, {@link }
  674. * org.osid.assessment.AssessmentException#UNIMPLEMENTED
  675. * UNIMPLEMENTED}
  676. *
  677. * @access public
  678. */
  679. function getEvaluationTypes () {
  680. die ("Method <b>".__FUNCTION__."()</b> declared in interface<b> ".__CLASS__."</b> has not been overloaded in a child class.");
  681. }
  682. }
  683.  
  684. ?>

Documentation generated on Wed, 19 Sep 2007 10:21:32 -0400 by phpDocumentor 1.3.0RC3