original_string: protected function columns($data = null)
      {
          if (is_null($data)) {
              $this->_columns = $this->extruct(
                  Query::from('INFORMATION_SCHEMA.COLUMNS', false)
                  ->select('COLUMN_NAME')
                  ->where('TABLE_SCHEMA', '=', Config::get('database.database'))
                  ->andwhere('TABLE_NAME', '=', $this->_prifixTable)
                  ->get(Query::GET_ARRAY)
                  );
              //
              return $this->_columns;
          } else {
              $this->_columns = $data['columns'];
          }
      }
code: protected function columns($data = null)
      {
          if (is_null($data)) {
              $this->_columns = $this->extruct(
                  Query::from('INFORMATION_SCHEMA.COLUMNS', false)
                  ->select('COLUMN_NAME')
                  ->where('TABLE_SCHEMA', '=', Config::get('database.database'))
                  ->andwhere('TABLE_NAME', '=', $this->_prifixTable)
                  ->get(Query::GET_ARRAY)
                  );
              //
              return $this->_columns;
          } else {
              $this->_columns = $data['columns'];
          }
      }
code_tokens: protected function columns ( $ data = null ) { if ( is_null ( $ data ) ) { $ this -> _columns = $ this -> extruct ( Query :: from ( 'INFORMATION_SCHEMA.COLUMNS' , false ) -> select ( 'COLUMN_NAME' ) -> where ( 'TABLE_SCHEMA' , '=' , Config :: get ( 'database.database' ) ) -> andwhere ( 'TABLE_NAME' , '=' , $ this -> _prifixTable ) -> get ( Query :: GET_ARRAY ) ) ; // return $ this -> _columns ; } else { $ this -> _columns = $ data [ 'columns' ] ; } }
docstring: to get and set all columns of data table.
  
  @return array
docstring_tokens: to get and set all columns of data table .