Craft\AmForms_FormsService::getFormById PHP Méthode

getFormById() public méthode

Get a form by its ID.
public getFormById ( integer $id ) : AmForms_FormModel | null
$id integer
Résultat AmForms_FormModel | null
    public function getFormById($id)
    {
        return $this->getCriteria(array('limit' => 1, 'id' => $id))->first();
    }