Перейти к публикации
View in the app

A better way to browse. Learn more.

VimeWorld - Форум

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

Язык программирования знаю - но это что то новое не понятное. 

/var/www/sampgrp/data/www/framework/db/ar/CActiveRecord.php(2362)

2350
2351 /**
2352 * Constructor.
2353 * @param CActiveRecord $model the model instance
2354 * @throws CDbException if specified table for active record class cannot be found in the database
2355 */
2356 public function __construct($model)
2357 {
2358 $this->_modelClassName=get_class($model);
2359
2360 $tableName=$model->tableName();
2361 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null)
2362 throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.',
2363 array('{class}'=>$this->_modelClassName,'{table}'=>$tableName)));
2364 if($table->primaryKey===null)
2365 {
2366 $table->primaryKey=$model->primaryKey();
2367 if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey]))
2368 $table->columns[$table->primaryKey]->isPrimaryKey=true;
2369 elseif(is_array($table->primaryKey))
2370 {
2371 foreach($table->primaryKey as $name)
2372 {
2373 if(isset($table->columns[$name]))
2374 $table->columns[$name]->isPrimaryKey=true;
Stack Trace

Изменено пользователем Mouse

Опубликовано:

What?

Это что?

Да так. Он тему создал, типо бог программирования. 

 

Зерчик, ты же просто этот код нашёл в интернете, зачем его сюда скидывать?

Гость
Эта тема закрыта для дальнейших сообщений.

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.