code: public function getActiveCustomFields()
      {
          if($this->activeCustomFields === null) {
              $this->activeCustomFields = array();
              foreach ($this->customFields as $cf) {
                  if($cf->isActive()) {
                      array_push($this->activeCustomFields, $cf);
                  }
              }
          }
  
          return $this->activeCustomFields;
      }
docs: Get all the custom
  
  @return \Doctrine\Common\Collections\Collection