Pop\Db\Record\Prepared::getPlaceholder PHP Метод

getPlaceholder() защищенный Метод

Get the placeholder for a prepared statement
protected getPlaceholder ( string $column, integer $i = 1 ) : string
$column string
$i integer
Результат string
    protected function getPlaceholder($column, $i = 1)
    {
        $placeholder = $this->placeholder;
        if ($this->placeholder == ':') {
            $placeholder .= $column;
        } else {
            if ($this->placeholder == '$') {
                $placeholder .= $i;
            }
        }
        return $placeholder;
    }