content::deploy |
|
render the template and write it to the filesystem
with template::util::write_file
DEPRECATED: since its birth ~2003 this proc refers to a
nonexistent variable and is therefore broken. |
content::extlink::copy |
|
|
content::extlink::delete |
|
|
content::extlink::edit |
|
Edit an existing external link. |
content::extlink::is_extlink |
|
|
content::extlink::name |
|
Returns the name of an extlink |
content::extlink::new |
|
Create a new external link. |
content::folder::delete |
|
Delete a content folder |
content::folder::get_folder_from_package |
|
|
content::folder::get_folder_from_package_not_cached |
|
|
content::folder::get_index_page |
|
|
content::folder::get_label |
|
|
content::folder::is_empty |
|
|
content::folder::is_folder |
|
|
content::folder::is_registered |
|
|
content::folder::is_root |
|
|
content::folder::is_sub_folder |
|
|
content::folder::new |
|
|
content::folder::register_content_type |
|
Register an allowed content type for folder_id |
content::folder::unregister_content_type |
|
Unregister an allowed content type for folder_id |
content::folder::update |
|
Update standard cr_folder attributes, including the attributes for
the folder cr_item |
content::get_content |
|
sets the content in the array "content" in the callers scope
assumes item_id or revision_id is set in the ::content namespace. |
content::get_content_value |
|
|
content::get_item_id |
|
|
content::get_template_root |
|
Find the directory in the filesystem where templates are stored. |
content::get_template_url |
|
|
content::has_content |
|
return true if the request has content associated with it |
content::init |
|
Initialize the namespace variables for the ::content procs and
figures out which template to use and set up the template
for the required content type etc. |
content::item::content_is_null |
|
Determines if the content for the revision is null (not mereley
zero-length) |
content::item::content_methods_by_type |
|
Determines all the valid content methods for instantiating
a content type. |
content::item::content_type |
|
|
content::item::copy |
|
|
content::item::delete |
|
|
content::item::get |
|
Get an item. |
content::item::get_best_revision |
|
Attempts to retrieve the live revision for the item. |
content::item::get_content |
|
Create a onerow datasource called content in the calling frame
which contains all attributes for the revision (including inherited
ones).<p>
The datasource will contain a column called "text", representing the
main content (blob) of the revision, but only if the revision has a
textual mime-type. |
content::item::get_content_type |
|
Retrieves the content type of the item. |
content::item::get_context |
|
|
content::item::get_descendants |
|
Returns the ids of every content item that is descendant of
supplied parent_id. |
content::item::get_id |
|
Looks up the item_path starting with the root folder and returns item_id for that
content item or empty, if none exists |
content::item::get_id_by_name |
|
Returns The item_id of the content item with the passed in name |
content::item::get_latest_revision |
|
Retrieves the latest revision for the item. |
content::item::get_live_revision |
|
Retrieves the live revision for the item. |
content::item::get_parent_folder |
|
|
content::item::get_path |
|
|
content::item::get_publish_date |
|
|
content::item::get_publish_status |
|
Get the publish status of the item. |
content::item::get_revision_content |
|
Create a one-row datasource called content in the calling frame
which contains all attributes for the revision (including inherited
ones). |
content::item::get_revision_count |
|
|
content::item::get_root_folder |
|
|
content::item::get_template |
|
Retrieves the template which can be used to render the item. |
content::item::get_title |
|
Get the title for the item. |
content::item::get_virtual_path |
|
Retrieves the relative path to the item. |
content::item::is_index_page |
|
|
content::item::is_publishable |
|
Determine if the item is publishable. |
content::item::is_published |
|
|
content::item::is_subclass |
|
|
content::item::is_valid_child |
|
|
content::item::move |
|
Move an item to a folder. |
content::item::new |
|
Create a new content item This proc creates versioned content
items where content_type iscontent_revision or subtypes of content
revision. |
content::item::publish |
|
Publish a content item. |
content::item::register_template |
|
|
content::item::relate |
|
|
content::item::rename |
|
Rename an item. |
content::item::set_live_revision |
|
|
content::item::set_release_period |
|
|
content::item::unpublish |
|
Unpublish a content item. |
content::item::unregister_template |
|
|
content::item::unrelate |
|
|
content::item::unset_live_revision |
|
|
content::item::update |
|
Update standard non-versioned content item attributes (cr_items)
Valid attributes: name parent_id latest_revision live_revision locale publish_status |
content::item::upload_file |
|
Store the file uploaded under the parent_id if a file was uploaded |
content::keyword::delete |
|
|
content::keyword::get_children |
|
Returns the ids of the keywords having the given parent_id. |
content::keyword::get_description |
|
|
content::keyword::get_heading |
|
|
content::keyword::get_keyword_id |
|
Get the keyword with the given heading under the given parent. |
content::keyword::get_options_flat |
|
Returns a flat options list of the keywords with the given parent_id. |
content::keyword::get_path |
|
|
content::keyword::is_assigned |
|
|
content::keyword::is_leaf |
|
|
content::keyword::item_assign |
|
|
content::keyword::item_get_assigned |
|
Returns a list of all keywords assigned to the given cr_item. |
content::keyword::item_unassign |
|
|
content::keyword::item_unassign_children |
|
Unassign all the keywords attached to a content item
that are children of keyword parent_id. |
content::keyword::new |
|
|
content::keyword::set_description |
|
|
content::keyword::set_heading |
|
|
content::keyword::write_to_file |
|
|
content::revision::content_copy |
|
|
content::revision::copy |
|
|
content::revision::delete |
|
|
content::revision::export_to_filesystem |
|
Export the content of the provided revision to the named file in
the filesystem. |
content::revision::export_xml |
|
|
content::revision::get_cr_file_path |
|
Get the path to content in the filesystem |
content::revision::get_number |
|
|
content::revision::get_title |
|
Returns the title of a particular 'content_revision'. |
content::revision::import_xml |
|
|
content::revision::index_attributes |
|
|
content::revision::is_latest |
|
|
content::revision::is_live |
|
|
content::revision::item_id |
|
Gets the item_id of the item to which the revision belongs. |
content::revision::new |
|
Adds a new revision of a content item. |
content::revision::read_xml |
|
|
content::revision::replace |
|
|
content::revision::revision_name |
|
|
content::revision::to_html |
|
|
content::revision::to_temporary_clob |
|
|
content::revision::update_attribute_index |
|
DEPRECATED: the db api for this proc was deleted in 2005 |
content::revision::write_xml |
|
|
content::symlink::copy |
|
|
content::symlink::delete |
|
|
content::symlink::is_symlink |
|
|
content::symlink::new |
|
This procedure allows you to create a new Symlink |
content::symlink::resolve |
|
Return the item_id of the target item to which the symlink points |
content::symlink::resolve_content_type |
|
|
content::template::delete |
|
|
content::template::get_path |
|
|
content::template::get_root_folder |
|
|
content::template::is_template |
|
|
content::template::new |
|
|
content::type::attribute::delete |
|
|
content::type::attribute::new |
|
|
content::type::content_type_p |
|
Checks if the mime_type is of the content_type, e.g. |
content::type::delete |
|
|
content::type::get_template |
|
|
content::type::is_content_type |
|
|
content::type::new |
|
|
content::type::refresh_view |
|
|
content::type::register_child_type |
|
|
content::type::register_mime_type |
|
Associate a content_type with a mime_type (both params are strings, e.g. |
content::type::register_relation_type |
|
|
content::type::register_template |
|
|
content::type::rotate_template |
|
Force all items of content_type to use a new template. |
content::type::set_default_template |
|
|
content::type::unregister_child_type |
|
|
content::type::unregister_mime_type |
|
|
content::type::unregister_relation_type |
|
|
content::type::unregister_template |
|
|
cr_check_mime_type |
|
Check whether the mimetype is registered. |
cr_create_content_file |
|
Copies the file passed by client_filename to the content repository file
storage area, and it returns the relative file path from the root of the
content repository file storage area.. |
cr_create_content_file_from_string |
|
Copies the string to the content repository file storage area, and it
returns the relative file path from the root of the content repository
file storage area. |
cr_create_content_file_path |
|
Creates a unique file in the content repository filesystem based on
the item_id and revision_id of the content item. |
cr_file_size |
|
Returns the size of a file stored in the content repository. |
cr_filename_to_mime_type |
|
given a filename, returns the mime type. |
cr_import_content |
|
Import an uploaded file into the content repository. |
cr_set_imported_content_live |
|
|
cr_write_content |
|
Write out the specified content to the current HTTP connection or
return it to the caller by using the -string flag. |
image::convert_binary |
|
Find imagemagick convert binary |
image::filename_mime_type |
|
Use ns_guesstype if we don't know the mime_type |
image::get_file_dimensions |
|
Get the width and height of an image from
a file in the filesystem. |
image::get_file_info |
|
Get info about an image file, dimensions, mime_type
The name of this proc tries to make clear that we aren't getting info
for an image type object, but examinging an image file in the filesystem |
image::get_file_info_array |
|
Get info about an image file, dimensions, mime_type into
an array in the caller's namespace. |
image::get_info |
|
Get the width and height of an image file. |
image::get_resized_item_id |
|
Get the item id of a related resized image, usually the thumbnail size |
image::identify_binary |
|
Find imagemagick identify binary |
image::imagemagick_file_dimensions |
|
Get the dimensions of an image from imagemagick |
image::imagemagick_identify |
|
Get width height and mime type from imagemagick |
image::mime_type |
|
Use ns-built-in mimetype or image magick if not available |
image::new |
|
Create a new image object from a temporary file |
image::ns_size |
|
Use ns_gifsize/ns_jpegsize to try to get the size of an image |
image::resize |
|
Create a thumbnail of an image in the content repository |
publish::get_html_body |
|
|
publish::get_mime_handler |
|
|
publish::get_page_root |
|
Get the page root. |
publish::get_publish_roots |
|
Get a list of all page roots to which files may be published. |
publish::handle::image |
|
The basic image handler. |
publish::handle::text |
|
Return the text body of the item |
publish::handle_binary_file |
|
|
publish::item_include_tag |
|
|
publish::mkdirs |
|
Create all the directories necessary to save the specified file |
publish::proc_exists |
|
|
publish::render_subitem |
|
|
publish::write_content |
|
|