NPO法人の設立はお任せ下さい

NPO法人とはという基本的内容から実際のNPO法人設立まで広くお手伝いいたします。これからNPO法人をお考えの方はオススメ。NPO法人とはNon Profit Organizationの略であり、特定非営利活動法人を指します。法人なので当然に登記され、独立した人格として活動ができるようになります。

これから引越しや転勤等で賃貸物件を探すなら、賃貸大阪homeへ
アクセスカウンター
アルバイトをお探しならアルバイトスタイルへ。アルバイトを探したい方、アルバイトを探している方は必見です。
NPO法人をこれから設立したいとお考えなら自分で設立するNPO法人へ。都道府県ごとのNPO法人設立情報などを提供。NPO法人証明書も発行
株式会社をこれから設立したいとお考えなら会社設立webへ。都道府県ごとの会社設立専門家を紹介しております。

Structures_DataGrid_DataSource::create()

Structures_DataGrid_DataSource::create() -- Creates a Structures_DataGrid_DataSource object

概要

string Structures_DataGrid_DataSource::create (object $source, array $options, string $type)

説明

This method will create the datasource driver object by attempting to detect it's type. If the type can be found the driver will be instantiated and returned, if it cannot be detected, an error will be returned. When using bundled data drivers, the bind() method is the preferred approach, this method exists for those who wish to create their own data source driver. If you do create your own driver and find that it may be useful to others, please post it to the mailing list so that it could be bundled into the package.

パラメータ

mixed $source

The original data source.

array $options

An array of options to be used, these are respective to the driver.

string $type

Optional. This is used if the data source type cannot be detected.

返り値

object - The Structures_DataGrid_DataSource object

注意

この関数は、スタティックにコールする ことができます。

例 54-1Creating a datasource object.


<?php
require_once 'Structures/DataGrid.php';
require_once 'myDataObjects/User.php';

$user = new User();

$dg =& new Structures_DataGrid();
$ds = Structures_DataGrid_DataSource::create($user);
$dg->bindDataSource($ds);

$dg->render();
?>