クラス Translation_Entry::key()
クラス Translation_Entry::key()
定義ファイル :/blog/wp-includes/pomo/entry.php
1 2 3 4 5 6 7 8 9 10 | /** * Generates a unique key for this entry * * @return string|bool the key or false if the entry is empty */ function key() { if (is_null($this->singular)) return false; // prepend context and EOT, like in MO files return is_null($this->context)? $this->singular : $this->context.chr(4).$this->singular; } |