public function getType() { return $this->type; }
/** * @static * @return Sanitycheck */ public static function getNext() { $sanityCheck = new Sanitycheck(); $sanityCheck->getDao()->getNext(); if ($sanityCheck->getId() and $sanityCheck->getType()) { return $sanityCheck; } else { return null; } }