- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
override public function get name():String {
if (!this._name) {
var fullName:String = this.data[FULL_NAME];
var firstName:String = this.data[FIRST_NAME];
var lastName:String = this.data[LAST_NAME];
if (fullName) {
if (fullName == "Yorick") {
this._name = Translations.instance.getString(fullName);
} else {
this._name = fullName;
}
} else {
var split:Array = [];
if (firstName) {
split.push(firstName);
}
if (lastName) {
split.push(lastName);
}
this._name = split.join(' ');
}
}
return this._name;
}
Люблю свою работу.
Даже выпиливать не буду.
nonamez 13.03.2013 16:42 # +2
bormand 13.03.2013 16:55 # +3
nonamez 13.03.2013 17:23 # −2
scriptin 13.03.2013 18:23 # +5
Шаблон треснул по швам, но не порвался.
wvxvw 13.03.2013 20:11 # 0