public function like_match($like_match)
    {
        switch ($like_match) {
            case self::LIKE_MATCH_AND:
            case self::LIKE_MATCH_OR:
                $this->like_match = $like_match;
                break;
            default:
                break;
        }
        $this->total = $this->page = $this->total_page = null;

        return $this;
    }
public function like_match($like_match)
    {
        switch ($like_match) {
            case self::LIKE_MATCH_AND:
            case self::LIKE_MATCH_OR:
                $this->like_match = $like_match;
                break;
            default:
                break;
        }
        $this->total = $this->page = $this->total_page = null;

        return $this;
    }
public function like_match ( $ like_match ) { switch ( $ like_match ) { case self :: LIKE_MATCH_AND : case self :: LIKE_MATCH_OR : $ this -> like_match = $ like_match ; break ; default : break ; } $ this -> total = $ this -> page = $ this -> total_page = null ; return $ this ; }
Restrict on match

@param $like_match

@return $this
Restrict on match