src/classes/CCModel.php
public function raw( $key = null ) 
	{
		if ( !is_null( $key ) )
		{
			if ( isset( $this->_data_store[$key] ) )
			{
				return $this->_data_store[$key];
			}

			throw new \InvalidArgumentException( "CCModel - Invalid or undefined model property '".$key."'." );
		}

		return $this->_data_store;
	}
public function raw( $key = null ) 
	{
		if ( !is_null( $key ) )
		{
			if ( isset( $this->_data_store[$key] ) )
			{
				return $this->_data_store[$key];
			}

			throw new \InvalidArgumentException( "CCModel - Invalid or undefined model property '".$key."'." );
		}

		return $this->_data_store;
	}
public function raw ( $ key = null ) { if ( ! is_null ( $ key ) ) { if ( isset ( $ this -> _data_store [ $ key ] ) ) { return $ this -> _data_store [ $ key ] ; } throw new \ InvalidArgumentException ( "CCModel - Invalid or undefined model property '" . $ key . "'." ) ; } return $ this -> _data_store ; }
Returns all raw data of the object or a single property

$model->raw();
$model->raw( 'key' );

@param string 			$key
@return array
Returns all raw data of the object or a single property