Skip to content

bvfbarten/f3-yig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F3-Yig

Extension to acces YAML and csv files in Fatfree using the f3 jig syntax.

example:

/*
use Yaml format for saving
*/
class MemberYaml extends \DB\Yig\Mapper {
    public function __construct() {
        parent::__construct( new DB\Yig('tmp/'), 'team.yaml' );
    }
}

/*
use Csv format for saving
*/
class MemberCsv extends \DB\Cig\Mapper {
    public function __construct() {
        parent::__construct( new DB\Cig('tmp/'), 'team.csv' );
    }
}

$memberQuery = new MemberCsv;
$allMembers = $memberQuery->find();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages