Articie PHP syntax modifed as Cake