You are here

public function ChecklistapiChecklist::getNumberOfItems in Checklist API 7

Gets the total number of items.

Return value

int The number of items.

1 call to ChecklistapiChecklist::getNumberOfItems()
ChecklistapiChecklist::getPercentComplete in lib/Drupal/checklistapi/ChecklistapiChecklist.php
Gets the percentage of items complete.

File

lib/Drupal/checklistapi/ChecklistapiChecklist.php, line 118
Class for Checklist API checklists.

Class

ChecklistapiChecklist
Defines the checklist class.

Code

public function getNumberOfItems() {
  return $this->numberOfItems;
}