You are here

public function ChecklistapiChecklist::getNumberOfItems in Checklist API 8

Gets the total number of items.

Return value

int The number of items.

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

File

src/ChecklistapiChecklist.php, line 163

Class

ChecklistapiChecklist
Defines the checklist class.

Namespace

Drupal\checklistapi

Code

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