public function loadCardListBody($tagId = -1) { $cards = $this->cm->findCards(null, $tagId == -1 ? null : array($tagId)); $this->assignToView("cards", $cards); }