Additional Inherited Members |
| static | expireTableScheme () |
| static | find ($id) |
| static | exists ($id) |
| static | countBySql ($where=1, $params=array()) |
| static | create ($data) |
| static | import ($data) |
| static | findBySQL ($where, $params=array()) |
| static | findThru ($foreign_key_value, $options) |
| static | findEachBySQL ($callable, $where, $params=array()) |
| static | findMany ($pks=array(), $order= '', $order_params=array()) |
| static | findEachMany ($callable, $pks=array(), $order= '', $order_params=array()) |
| static | findAndMapBySQL ($callable, $where, $params=array()) |
| static | findAndMapMany ($callable, $pks=array(), $order= '', $order_params=array()) |
| static | deleteBySQL ($where, $params=array()) |
| static | toObject ($id_or_object) |
| static | __callStatic ($name, $arguments) |
| static | tableScheme ($db_table) |
| | $content = array() |
| | $content_db = array() |
| | $is_new = true |
| | $db_table = '' |
| | $db_fields = null |
| | $pk = null |
| | $default_values = array() |
| | $alias_fields = array() |
| | $additional_fields = array() |
| | $relations = array() |
| | $has_many = array() |
| | $has_one = array() |
| | $belongs_to = array() |
| | $has_and_belongs_to_many = array() |
| | $registered_callbacks |
| | $known_slots = array() |
| | $reserved_slots = array('value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id') |
| | $notification_map = array() |
| static | $schemes |
Constructor & Destructor Documentation
| __construct |
( |
|
$url = null | ) |
|
constructor
- Parameters
-
| string | $url | : the url that represents the opengraph-information |
Reimplemented from SimpleORMap.
Member Function Documentation
Fetches information from the url by getting the contents of the webpage, parse the webpage and extract the information from the opengraph meta-tags. If the site doesn't have any opengraph-metatags it is in fact no opengraph node and thus no data will be stored in the database. Only $url['is_opengraph'] === '0' indicates that the site is no opengraph node at all.
Returns an array with all audiofiles that are provided by the opengraph-node. Each array-entry is an array itself with the url as first parameter and the content-type (important for <audio> tags) as the second.
- Returns
- array(array($url, $content_type), ...)
Returns an array with all mediafiles that are provided by the opengraph-node. Each array-entry is an array itself with the url as first parameter and the content-type (important for <audio> or <video> tags) as the second.
- Parameters
-
| string | $type,: | "audio" or "video" |
- Returns
- array(array($url, $content_type), ...)
Returns an array with all videofiles that are provided by the opengraph-node. Each array-entry is an array itself with the url as first parameter and the content-type (important for <video> tags) as the second.
- Returns
- array(array($url, $content_type), ...)
Renders a small box with the information of the opengraph url. Used in blubber and in the forum.
- Returns
- string : html output of the box.
Serialize the data field as a json-object before you store it in the database.
Unserialize the data field when it comes from the database. So you can expect $url['data'] to be an array.
Field Documentation
| $tempURLStorage = array() |
|
static |
The documentation for this class was generated from the following file: