Value Providers 6.x-1.0-rc1
File ID: 102879
Value Providers 6.x-1.0-rc1 Description
Description: This module is supposed to ease life for developers - if you are none of those, you only want to download this module if another one depends on it. So now that that\'s sorted out, let\'s get to the point...
* Did you ever want to extract values from a view, but needed to hardcode it because both column names and result format only apply to your specific view?
* Did you ever want to offer the user to select any Views field that fits the purpose, regardless if it\'s a CCK field or in a module specific table? And then, execute the view programmatically and retrieve the value in exactly the same target format, regardless of how it appears in the database?
If that is the case then this module is for you. It\'s a tool to ease programmatic retrieval of Views fields, a format that you can rely on. Need to have the user choose between CCK nodereferences, book parents and Project* projects for an issue? You only need to specify the views table, required columns for the target value and a parse function, and all callers just need to request the \"nid\" type and are able to use any of the above.
In other words, \"Semantic Views\". There could be value providers that provide the number of hours for CCK Number or Duration fields, there could be user objects as result values, or some readily rendered HTML output. It all depends on the parse function, there can be any target formats that you desire, assuming that Views provides the fields required to compute those.
In other words, this module aims to make it easy to use Views from your own module\'s code. Whether it succeeds in that reaching that aim is up to your judgement.
Related: Module, views, fields, Format, Target, result, specific, Field, Words, Parse, required, Function, depends, values, Columns, Scripts, rc1, providers, providers scripts
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB
|More Similar Code|
This module takes a user's time budget as well as a list of tasks (issues/cases/bugs/...) with a specified time need, and uses this data in order to calculate estimated target dates for these tasks. Optionally, target dates are then also calculated for milestones that depend on these tasks.
In order to retrieve the required data, project forecast uses various data sources: the Time Budget module for determining how much time a user...
ABF Value Converter is an application for measurement units conversion. This software easily converts various measurement values into any other possible ones. Inches to centimetres, pounds to kilograms, Fahrenheit to Celsius... and more than 5000...
Borland Data Providers for .NET (BDP.NET) is a database-independent ADO.NET data provider that defines common interface to provide access to SQL database servers.
For each supported server, BDP.NET uses provider as an independent...
The Authentication Provider project is actually a collection which includes both the core components and the individual providers for each authentication type. At present the supported providers include Active Directory, LiveID and OpenID.
ASP.NET: Dynamically set Text and Value fields for a DropDownList is an article, using which you can learn a technique to switch the value and Text Representaion of the item in a DropDownList. In this Article the author explains the entire process...
Boxing and Unboxing of Value Types in C#: What You Need to Know? is a web based tutorial in which author elaborates the concepts of boxing and unboxing value types. The author also explains the problem that occur while programming boxing and...
Pick-A-Value is one of the web component that control the inputed date and time entered by the user. Implementing this tool will be easy for the beginners, this tool can be be run through browser like Internet Explorer, Opera, Mozilla, Netscape...
Setting Default Value in a Drop Down list for a Datagrid is an article that demonstrates how to set default values for the dropdownlist box that has been integrated with the datagrid control. In this article the author explains it clearly with an...
Here is a quick and dirty way to sort a list of dictionary based on a key value.
The code to insert a value to a list indirectly ordered by an extra index list is useful by itself.
|User Review for Value Providers