src/System/Crayner/Database/DB.php
protected static function makeStatement($statement)
    {
        $self  = self::getInstance();

        $optionWhere = (!empty($self->optionWhere)) ? " WHERE ". substr(implode("", $self->optionWhere), 4) : null;
        $optionJoin  = implode("", $self->optionJoin);
        $optionOrder = $self->optionOrder;
        $optionLimit = $self->optionLimit;

        return $statement.$optionJoin.$optionWhere.$optionOrder.$optionLimit;
    }
protected static function makeStatement($statement)
    {
        $self  = self::getInstance();

        $optionWhere = (!empty($self->optionWhere)) ? " WHERE ". substr(implode("", $self->optionWhere), 4) : null;
        $optionJoin  = implode("", $self->optionJoin);
        $optionOrder = $self->optionOrder;
        $optionLimit = $self->optionLimit;

        return $statement.$optionJoin.$optionWhere.$optionOrder.$optionLimit;
    }
protected static function makeStatement ( $ statement ) { $ self = self :: getInstance ( ) ; $ optionWhere = ( ! empty ( $ self -> optionWhere ) ) ? " WHERE " . substr ( implode ( "" , $ self -> optionWhere ) , 4 ) : null ; $ optionJoin = implode ( "" , $ self -> optionJoin ) ; $ optionOrder = $ self -> optionOrder ; $ optionLimit = $ self -> optionLimit ; return $ statement . $ optionJoin . $ optionWhere . $ optionOrder . $ optionLimit ; }
Make Query Statement

@param  string $statement
@return string
Make Query Statement