0
我有Model.php:Impresspages 4 Model.php
<?php
/**
* @package ImpressPages
*/
namespace Plugin\My_plugin_name;
class Model
{
public static function getVideoList()
{
$videos = ipDb()->selectAll('plugin_db', '*', array('language'=> ipContent()->getCurrentLanguage()->getCode()), 'ORDER BY row_number ASC');
return $videos;
}
}
但是當我嘗試打電話到空間/ some_plugin /皮膚此功能/ view.php
$videos = Model::getVideoList();
我得到:
致命錯誤:類「模式」中的Widget .......找不到/ some_plugin /護膚/ view.php