Extension librariesModelMethodsModel::getPrimaryOn this pageModel::getPrimary Get Primary ID name Description public string Model::getPrimary() Example Controller$model = new Model(false, array( 'id' => 'news_id',));echo $model->getPrimary();// -> 'news_id'