Extension librariesModelMethodsModel::getPrimaryVersion: Fegg 5.xOn this pageModel::getPrimary Get the primary key column Description public string|null Model::getPrimary() Example Controller$model = new Model(false, array( 'id' => 'news_id',));echo $model->getPrimary();// -> 'news_id'