Changeset 1046
- Timestamp:
- 01/19/07 23:08:29 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/Category.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/Category.pm
r1031 r1046 482 482 =head1 DATA LOOKUP 483 483 484 In addition to numeric ID lookup, you can look up or sort records by any485 combination of the following fields. See the I<load> documentation in 486 I<MT::Object>for more information.484 In addition to numeric ID lookup, you can look up or sort records by 485 any combination of the following fields. See the L<MT::Object/load> 486 documentation for more information. 487 487 488 488 =over 4 … … 495 495 496 496 =head1 NOTES 497 498 =over 4499 500 =item *501 497 502 498 When you remove a category using I<MT::Category::remove>, in addition to … … 504 500 (I<MT::Placement> objects) will be removed. 505 501 506 =back 507 508 =head1 CLASS METHODS 502 =head1 METHODS 509 503 510 504 =over 4 511 505 512 506 =item * MT::Category->top_level_categories($blog_id) 513 514 507 515 508 Returns an array of I<MT::Category> objects representing the top level of 516 509 the category hierarchy in the blog identified by $blog_id. 517 510 511 =item * cache(%param) 512 513 Cache the category data given a C<blog_id> (if it has not been 514 already) and then return the data. 515 516 =item * cache_obj(%param) 517 518 Cache and return the session object. 519 520 =item * category_label_path() 521 522 Compute and return the labeled path of the category. 523 524 =item * category_path() 525 526 Compute and return the path of the category. 527 528 =item * copy_cat($old_cat) 529 530 Set the category column values to those of the old category. 531 532 =item * ping_url_list() 533 534 Return the list of ping URLs for the category. 535 536 =item * remove() 537 538 Remove the cached object and all its children. 539 540 =item * save() 541 542 Save the category! 543 518 544 =back 519 545 520 =head1 AUTHOR & COPYRIGHT S521 522 Please see the I<MT> manpage for author, copyright, and license information.546 =head1 AUTHOR & COPYRIGHT 547 548 Please see L<MT/AUTHOR & COPYRIGHT>. 523 549 524 550 =cut
