Educating the world

Our blog has over 10,000 readers a month

Checking if you are on the homepage

January 30th, 2015

The way to reference the default controller and the default action on that controller has changed. Essentially the defaultController in Yii might not be a controller, so it is now referred to as a route (i.e. defaultRoute) and the default Action on a controller in Yii2 is the name of the action rather than the Action object.



$controller Yii::app()->getController();
$default_controller Yii::app()->defaultController;
$isHome = (($controller->id === $default_controller->id) && ($controller->action->id === $controller->defaultAction->id)) ? true false;



$controller Yii::$app->controller;
$default_controller Yii::$app->defaultRoute;
$isHome = (($controller->id === $default_controller) && ($controller->action->id === $controller->defaultAction)) ? true false;


Yii to Yii2

January 30th, 2015

The Yii Framework has had a new major release and while the API documentation for the new version 2 is a lot better, there doesn't seem to be an easy way to find out what the new way of doing something is. I'm setting this article up as blogglue in order to join all these helper articles together.

Glasgow Fright Fest

January 22nd, 2015

When people ask "What kind of films do they play at a FrightFest?" I usually have to say something along the lines of "Well it's a mixture of Found Footage, Zombie, Horror, Apocalyptic, some Science Fiction and anything containing ultra violence". There is usually one documentary about something horror related and occasionally the festival shows a TV series if it falls within the weird and unusual. The films are usually in English although good films can come from anywhere and so it tends to be a bit random as to how many are foreign language films.

The Glasgow Fright Fest (FrightFest) doesn't seem to keep an archive of what was played at previous Fright Festivals so I've created this page to glue together all the listings from previous years into one handy page. So if you want to know what kind of films they play then each of the following pages contains the films that were played with links to IMDB which will probably have a trailer.

Just a reminder for me! Use this to help calculate the timings:

Glasgow Fright Fest 2015 Programme

January 22nd, 2015

FrightFest descriptions of the films can be found here but they are all on one page so it is impossible to link to each film individually. And of course next year the link for this year's films will be gone :(

Thursday 26 February 2015
21:0022:521h 52mEliza Graves
Friday 27 February 2015
13:3015:021h 32mThe Atticus Institute
-- 58m --
16:0017:221h 22mThe Hoarder
--8m* --
17:30*17:35*5mThe Paper Round
--55m* --
18:3020:081h 38mWyrmwood
-- 52m --
21:0022:221h 28m88
-- 53m --
23:1500:451h 30mExeter (aka The Asylum - Backmask)
Saturday 28th February 2015
-- 48m --
13:3014:521h22mBlood and Black Lace
-- 8m --
15:00*15:15*15mThe Stomach
-- 45m* --
16:0017:241h24mThe Woods Movie (Documentary on Blair Witch Project)
-- 52m --
18:3020:352h5mThe Treatment
-- 55m --
21:3023:051h35m[REC] 4: Apocalypse
-- -5m* --
23:00**00:361h36mThere Are Monsters


(*) Times are not listed so I guessed!
(**) Time can not be right, but is as listed. They must have the time of the previous film wrong.

Glasgow Fright Fest 2009 Programme

January 22nd, 2015

I'm adding the listing here for completeness and partly because the Fright Festival doesn't list them any more.

Saturday 7th March 2009
12:00Embodiment of Evil
16:00Repo! The Genetic Opera
19:00Listed as "surprise film". Comment if you can remember.
21:30Not Quite Hollywood: The Wild, Untold Story of Ozploitation!
23:45Turkey Shoot