Craft\AmForms_FormsService::getFormById PHP 메소드

getFormById() 공개 메소드

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