Procedural File: function.project_field.php

Source Location: /CORE/addon/smarty/plugins/function.project_field.php

Page Details

BIGACE - a PHP and MySQL based Web CMS.

Copyright (C) Kevin Papst.

BIGACE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author:  Kevin Papst
Version:  $Id: function.project_field.php,v 1.2 2009/02/27 23:13:28 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License
Functions
smarty_function_project_field  [line 31]

void smarty_function_project_field( $params, &$smarty  )

Smarty plugin to fetch project item values.

Parameter:

  • assign = the variable name that is used to bind result in smarty context
  • item = the item to fetch project values for
  • type = "text" or "num" (default: "text")
  • name = the name of the project value (if not set all parameter are returned)
  • default = value returned if found project field with name "name" is not found (default: null). not evaluated if name is missing.

Parameters:
   $params: 
   &$smarty: 


[ Top ]