资 源 简 介
sRecord is a PHP5 data access library for Salesforce and Force.com.
It wraps Salesforce PHP Toolkit and makes it useful, easy to develop application like ActiveRecord of RoR.
sRecord provides intuitive interface with method-chain design pattern.
sRecord manipulates child-parent relationship and parent-child relationship easily.
sRecord generates entity class, which makes possible to write method in entity class.
sRecord is designed to develop on Eclipse PDT, on help with code assist functionality of IDE.
Summary
Query single record
$account = Sobject_Account::neu()->find("0018000000UoDxpAAF");echo ("
{$account->Id} | ");echo ("{$account->Name} | ");echo ("{$account->Phone} | ");
Query multiple records