Page:: get_result()

This method returns the selected primary key and its friend(friend is a foreign key)

Description

Get the currently selected table-row(tr) from the theme panel as there has to be one from check -time.

Get the primary key of the selected table-row(tr) as an auto number.

Check the returned primary key selection which has to be a string, whereas if the value is not a string then an error occurred i.e. the last save was not successful. Then return the user defined error.

Get the foreign key(friend) component of the record and there must be one. Compile the valid selection and return the primary key and the friend(foreign key).