You need to sign in to do that
Don't have an account?
Sakthidasan
Explain StandardController Class
In the document I can't understand.(The only time it is necessary to refer to a StandardController object is when defining an extension for a standard controller. StandardController is the data type of the single argument in the extension class constructor.)
can you explain this code.
what will I get?
ApexPages.StandardController sc = new ApexPages.StandardController(Account);
can you explain this code.
what will I get?
ApexPages.StandardController sc = new ApexPages.StandardController(Account);
Account acc = (Account) controller.getRecord();
By extending the Standard Controller, we can use the standard CRUD (Create, Retrieve, Update, Delete) operations and also we can write our own custom business logic.
Regards,
Mahesh