Answer the question
In order to leave comments, you need to log in
How to install mdbootstrap jquery in Laravel 5.8?
Created a new Laravel project. I'm trying to install MDBootstrap.
I use commands:
npm i mdbootstrap
npm i node-waves
// MDBootstrap
@impоrt '~mdbootstrap/scss/mdb';
require('node-waves');
require('mdbootstrap');
Answer the question
In order to leave comments, you need to log in
if $time is a static variable, then CityController::$time should work.
Better yet, create a method
public function getTime() {
return $this->time;
}
list($controller) = Yii::app()->createController('city');
$time=$controller->time;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question