PMA\libraries\plugins\export\TableProperty::format PHP Метод

format() публичный Метод

Formats a string
public format ( string $text ) : string
$text string string to be formatted
Результат string formatted text
    public function format($text)
    {
        $text = str_replace("#ucfirstName#", ExportCodegen::cgMakeIdentifier($this->name), $text);
        $text = str_replace("#dotNetPrimitiveType#", $this->getDotNetPrimitiveType(), $text);
        $text = str_replace("#dotNetObjectType#", $this->getDotNetObjectType(), $text);
        $text = str_replace("#type#", $this->getPureType(), $text);
        $text = str_replace("#notNull#", $this->isNotNull(), $text);
        $text = str_replace("#unique#", $this->isUnique(), $text);
        return $text;
    }