Changeset 30879
- Timestamp:
- 03/06/09 11:04:26 (4 years ago)
- Location:
- lang/perl/SimpleCRUD/trunk
- Files:
-
- 1 added
- 1 modified
-
lib/SimpleCRUD.pm (modified) (2 diffs)
-
t/01-method.t (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/SimpleCRUD/trunk/lib/SimpleCRUD.pm
r30856 r30879 30 30 my $crud = SimpleCRUD->new($config); 31 31 my $xhtml = $crud->listing('Books'); 32 32 33 33 =head1 METHODS 34 34 35 35 =head2 new 36 36 37 =head2 listing 38 37 39 =head2 detail 40 38 41 =head2 upsert 42 39 43 =head2 do_upsert 44 40 45 =head2 delete 46 41 47 =head2 tables 48 42 49 =head2 registrations 43 44 =head1 PRIVATE METHODS45 46 =head2 _schema47 =head2 _base_url48 =head2 _column49 =head2 _column_of50 =head2 _primaries51 =head2 _orderd_columns52 =head2 _relationship53 =head2 _relationship_of54 =head2 _b2_accessor55 =head2 _b2_resultset56 =head2 _m2m_accessors57 =head2 _m2m_metadata58 =head2 _m2m_resultset59 =head2 _ordered_columns60 =head2 _pager61 =head2 _record62 =head2 _records63 =head2 _rel_class_of64 =head2 _rel_cond_of65 =head2 _rel_names66 =head2 _rel_type_of67 =head2 _result_source_name68 50 69 51 =cut … … 270 252 271 253 sub registrations { [ keys %{ $_[0]->_schema->source_registrations }] } 254 255 256 =head1 PRIVATE METHODS 257 258 =head2 _schema 259 260 =head2 _base_url 261 262 =head2 _column 263 264 =head2 _column_of 265 266 =head2 _primaries 267 268 =head2 _ordered_columns 269 270 =head2 _relationship 271 272 =head2 _relationship_of 273 274 =head2 _b2_accessor 275 276 =head2 _b2_resultset 277 278 =head2 _m2m_accessors 279 280 =head2 _m2m_metadata 281 282 =head2 _m2m_resultset 283 284 =head2 _ordered_columns 285 286 =head2 _pager 287 288 =head2 _record 289 290 =head2 _records 291 292 =head2 _rel_class_of 293 294 =head2 _rel_cond_of 295 296 =head2 _rel_names 297 298 =head2 _rel_type_of 299 300 =head2 _result_source_name 301 302 =cut 272 303 273 304 sub _render {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)