ActiveAccount::finder PHP Method

finder() public static method

public static finder ( $className = __CLASS__ )
    public static function finder($className = __CLASS__)
    {
        return parent::finder($className);
    }

Usage Example

 function testLoadWithSqlMap_SaveWithActiveRecord()
 {
     $record = $this->sqlmap->queryForObject('GetActiveRecordAccounts');
     $record->Account_FirstName = "Testing 123";
     $this->assertTrue($record->save());
     $check1 = $this->sqlmap->queryForObject('GetActiveRecordAccounts');
     $finder = ActiveAccount::finder();
     $check2 = $finder->findByAccount_FirstName($record->Account_FirstName);
     $this->assertSameAccount($record, $check1);
     $this->assertSameAccount($record, $check2);
     $this->initScript('account-init.sql');
 }
All Usage Examples Of ActiveAccount::finder
ActiveAccount