- Joined
- Aug 24, 2012
- Messages
- 604
- Reaction score
- 304
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
I have discontinued the development of this CMS, but..
Yeah, it could be, it's just a bad habit from my old work. :
Nice project both of u (any new progress?)
Was wondering wouldnt you be able to use the avatar class like this ?
Code:[COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatar[/COLOR]() { [COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasOne[/COLOR](Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])->[COLOR=#ffc66d]whereCurrent[/COLOR]([COLOR=#6a8759]'1'[/COLOR])[COLOR=#cc7832]; [/COLOR]} [COLOR=#cc7832][B]public function [/B][/COLOR][COLOR=#ffc66d]avatars[/COLOR]() { [COLOR=#cc7832][B]return [/B][/COLOR][COLOR=#9876aa]$this[/COLOR]->[COLOR=#ffc66d]hasMany[/COLOR](Avatar::[COLOR=#9876aa][I]class[/I][/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'player_id'[/COLOR][COLOR=#cc7832], [/COLOR][COLOR=#6a8759]'id'[/COLOR])[COLOR=#cc7832]; [/COLOR]}
I have discontinued the development of this CMS, but..
Yeah, it could be, it's just a bad habit from my old work. :