mvc/View.php
/**
     * Add locale message table for php code message translation.
     * The locale table convention:
     * File name is Name + '.' + language name + '.php'
     * Class name is Name + 'Lang'
     * Class contains a public static property named $table
     * @param string $table_name
     */
Add locale message table for php code message translation.
Add locale message table for php code message translation .
public function addTranslationTable($class_path) {
        if ($this->_lang_name) {
            $class_name = $class_path . '_' . $this->_lang_name;
            $this->addToTranslationTable($class_name, self::_CODE_TRANS_TABLE_INDEX);
        }
    }
public function addTranslationTable ( $ class_path ) { if ( $ this -> _lang_name ) { $ class_name = $ class_path . '_' . $ this -> _lang_name ; $ this -> addToTranslationTable ( $ class_name , self :: _CODE_TRANS_TABLE_INDEX ) ; } }
Add locale message table for php code message translation.
Add locale message table for php code message translation .